Example 2:
 Embodiment 2 is a preferred embodiment of the first example, which is different from the embodiment in that the specific structure of the longitudinal test system of the circuit board of the automotive motor controller has been refined and optimized, and the test The specific process is refined and optimized:
 The set of aging test systems of the circuit board of the automotive motor controller in this embodiment are like figure 2 As shown, including the control cabinet and an aging box connected to the control cabinet, a power supply component, a monitoring component, and a rotary modulator are installed in the control cabinet, and a temperature sensor, analog control unit, and multiple load circuits are provided in the aging box; Using a host computer and control card as a monitoring component, the power component uses 12V DC voltage regulatory power (DC, DC Voltage-StabilizedSource), the power supply output of the power component through the fuse matrix and the original edge of the rotary transformer, monitoring the components Also connected to the rotary transformer. The secondary coil of the rotary transformer is connected to the input of the plurality of simulation controller units. The emergency switch is set, the monitoring component is connected to the emergency switch. The monitoring component is also connected to a light alarm component; one person is also set up on the monitoring component. Machine intersection interface, human-computer interaction interface is used to enter the serial number, employee number, and single board number, aging test start time and aging test end time; upper machine and control card realize dynamic aging process monitoring and recording, control The housing of the cabinet, contact, and harness tolerate a certain high temperature and low temperature; the material uses FR4; the internal temperature uniformity of the clamp is controllable in the aging box, and a temperature sensor is provided in the aging box. The three-color light is set on the aging box to indicate the test state, where yellow means waiting, green means running, red means a fault (product failure and device failure); the power component is an emergency button, when the emergency button takes the power supply (By hard wiring protection), the opening and closing state is transferred to the host computer via the DIO card. The monitoring component is also used to automatically load the test configuration file corresponding to the board to be tested by the test circuit board according to the serial number, employee number, and the secondary test end time of the input to be tested, and the aging test end time is automatically loaded. Control the aging box to treat the test board for aging test, the test profile is equipped with aging curve configuration and fault warning and recording profile, the aging curve profile can perform aging parameter configuration such as cycle, temperature, etc., fault warning, and record profile Perform relevant parameters such as power supply output, logic protection.
 The analog control unit includes a control board test module and a board test module, a control board test module, and a playback test module connection, and the control board test module is used to connect to the control board to be tested in the circuit board. Used to correspond to a plurality of to be tested in the palette to be tested; the control board test module and the monitoring component are connected;
 The board test module is provided: providing the work signal required to perform the board aging test; and transmit the serial number of the received executive and the output signal of the aging test to the control board test module connected thereto;
 Control board test module: Provides the work signal required for the aging test of the control board for controlling its own test packets according to the output signal of its own serial number and aging test; and will transmit the executable board test module The sequence number and the test signal generated by the aging test provides a control panel connected to it to generate a test packet for the control board to generate a test packet according to the serial number of the actuator and its aging test; and output the received control board The test packets of their own test packets and the test packets that are connected to them are transmitted to the monitoring component.
 In a preferred embodiment, the aging tank can provide a plurality of analog control units, and the monitoring assembly will contain the control command including the life signal and the control panel sequence number in a plurality of simulation control units through the control commands in the plurality of simulation control units. Test the control panel and receive the test packets generated after the test control panel matches the life signal and serial number in the control command.
 The test process is as follows:
 The monitoring component first controls the various control board test modules in the aging box. Each executive board test module provides the working signal required for aging tests to each of the control boards and execution boards to be tested, so that the control panels and execution boards to be tested are in aging. Aging test in the box, in the aging test, each executable board feeds back the output signals and serial numbers in the aging test to the control panels connected thereto, and the control panels are packaged to encapsulate their output signals and serial numbers into test packets.
 The monitoring component will transmit the control command containing the life signal and the control board sequence number through the polling to send the control panel test module in the plurality of simulation control units to the control panel to be tested, and the control panel receives the control command, first will The signal is each matching the live signals in the control instruction. If the life signal match is successful, the stored sequence number is matched to the serial number in the control command. If the serial number matches the match, the control panel corresponding to the board to be tested is selected. By receiving the message information judgment control command, if it is determined that the remote frame is generated, the remote frame is generated, and the flag bits in the remote frame can be transmitted, and the corresponding connection to the test packet to be tested to be tested. Send it to the monitoring component and returns the initial state; if it is judged, the test packet is not sent, generate a remote frame, set the flag bit in the remote frame to the unpredictable bit and return the initial state; if the serial number does not match success, then The life signal is determined, and if the last life signal is different, the initial state will continue to send a message.
 In a preferred embodiment, the fault information further includes a fault bit flag, initialization flag, and state data to be tested, and the status data includes the power-on time of the circuit board to be tested, and the output current to be tested by the circuit board is to be tested. . In the present embodiment, the control board must not only generate its own test packets according to their own serial number and fault information, and also accept the fault information and the serial number of the execution board connected to generate the test packets of its connected execution board.
 In this embodiment, the fault bit flag sets a variety of fault bits, such as the key signal bit fault flag, each phase current failure bit flag, if you need to test whether a block in which a block in the board is required to have a key signal failure, as long as it is monitored The component transmits the control signal to the corresponding execution board test module, allowing it to provide the corresponding fault test working signal to the block, the actuator will give the output signal in the aging test to the control panel connected thereto, the control panel will The output signal of the block performs the plate is compared to the corresponding preset fault threshold, and the corresponding fault bit flag of the actuator will be set to 0 when the corresponding fault threshold is exceeded, otherwise set to 0;
 In a preferred embodiment, the monitoring assembly includes a determination module, and the determination module is used to determine if the fault bit flag to be tested according to the received circuit board is determined whether the circuit board is normal; if the test message received by the module is determined The fault bit mark is normal, and it is determined that the circuit board to be tested is normal. Otherwise, it is judged that the circuit board is faulty;
 The judgment module is also used to determine the presence of an initialization failure to be tested after judging the circuit board to satisfy any of the following conditions:
 Condition 1: The continuous power-on time of the test circuit board exceeds the preset power-on threshold, and the completion of the initialization flag of the continuously received circuit exceeds the reception threshold;
 Condition 2: The initialization mark in the last round of the test packet is unfinished in the continuous power-on time, and the initialization mark of this round of test packets is completed.
 If the board is tied to the board (configurable) has been energized for a while, the initialization completion bit is still 1 in a certain channel, then the channel communication status is normally, but the circuit board fault status indicates the red light. Display presence initialization failure;
 The monitoring component is also provided with a communication fault counter on the communication channel of the circuit board to be tested. The communication fault counter is used to count the number of untrophiced communication channels, and the determination module is also used to make the untrophilic number and preset of the communication fault technique. The unresponsive threshold is compared. When the untrophilic number of communication fault technologies exceeds the unresponsive threshold determination, it is determined that the communication channel has a channel failure.
 In a preferred embodiment, the determination module is also used to compare the output current value of the circuit board to be tested to compare the preset current warning value, and compare the output voltage value of the circuit board to be tested to be compared to the preset voltage warning value. When the output current value of the test circuit board exceeds the current warning value or the output voltage value exceeds the voltage warning value, the monitoring component controls the sound and light alarm components;
 The determination module is also used to compare the output current value of the circuit board to be tested to compare the preset current protection value, and compare the output voltage value of the circuit board to be tested to the preset voltage protection value, when the circuit board is tested When the output current value exceeds the current protection value or the output voltage value exceeds the voltage protection value, the monitoring component controls the emergency switch to turn off the power components.
 The monitoring component is also used to automatically load the test configuration file corresponding to the board to be tested by the test circuit board according to the serial number, employee number, and the secondary test end time of the input to be tested, and the aging test end time, and control according to the test configuration file The aging box treats the test circuit board for aging test. The temperature sensor is also set up in the aging box, and the temperature sensor is also connected to the monitoring component; the temperature sensor is used to collect the temperature of the circuit board to be tested during the aging test, and transmit the acquisition temperature to the monitoring component;
 The monitoring component also includes a monitoring document generating module: used to generate aging curves, aging test logs, and aging test reports based on test packets to be tested, aging test logs, and aging test logs include aging test start time, end time The serial number of the circuit board is tested, the temperature in the aging box, the output voltage of the board to be tested, the output current of the circuit board, the emergency button switch state, the communication monitoring parameters, and the aging state of the circuit board to be tested; aging test report Including aging test start time, end time, employee number, pattern number to be tested, the serial number of the circuit board and the aging state of the circuit board to be tested. The human-computer interaction interface is also used to show aging curves, aging test logs and aging test reports.
 The complete set of aging test systems requires a dedicated aging program in the monitoring assembly in order to achieve simulation. When the fault or monitoring parameters are detected, the fault information is reported, including the fault category code and the fault time. When the program completes startup, it will feed back to the host computer startup information, and notify the monitoring software to start monitoring the time.
 Before the circuit board is complete, it is necessary to confirm that the board has been commissioned by the board and writes the serial number. The serial number is used to distinguish the monitoring software and the subject. The board serial number is input to the host computer, and the host machine transmits two frame messages containing the serial number and life signal (a frame number of packets) by PCAN. The board is read and the life signal is matched. If the life signal is the same, the sequence number is compared to the tested circuit board sequence number stored in the Flash area, and the sequence number is selected and determined whether or not it is transmitted. once. If you send a data packet, set the flag bit and return to the initial state; if you do not send it, set the flag bit to send, send related three frame data packets (including fault bit flag, temperature, and voltage. Information) Give the host computer and return to the initial state. The serial number is not the same, and the life signal is determined. If the signal signal is different from the last life signal, the initial state is returned to continue the message.
 2) Monitoring program design
 The monitor can inspect and record the status of the test piece in real time, and detect each channel product parameters and query and export fault records. The monitoring interface has each channel corresponding channel number, the tooling number, the test circuit board serial number, the load profile button, the start test, the end test button, the power supply is interrupted, the output voltage, the output current display, the channel communication status indication, each Channel product failure status indication and fault category display box, etc.
 like image 3 As shown, the monitoring software is related to the software function from the following aspects:
 a) Configuration file confirmation: Agricultural curve configuration and fault warning and recording profile are provided, and aging curve profiles can be used as cycle, time, temperature, node status, failure warning, and record profiles. Power output, logic protection, delay related parameter configuration;
 b) Software open: There is an employee login operation and the wrong resistance mechanism, and the device self-test can be self-assigned scanning, power, dry point state, etc. and give self-examination results;
 c) Configuration file loading: Select the corresponding picture number to automatically load the corresponding profile, unsuccessful or abnormally pop up a warning;
 d) Sequence number entry: The automatic cleaning serial number function is provided, and the history data is cleared each time you reopen it. In order to facilitate fault positioning and tooling management, the clamp tool is required to scan code input. Circuit board serial number input is a reasonable serial number. At the same time, in order to facilitate operation, there is an interface automatic jump function;
 e) Power-on confirmation: perform power-on confirmation and display the power-on confirmation result;
 f) Start experiments:
 Polling on the board: After each startup of the power supply, the host machine transmits a message containing the serial number and life signal by PCAN.
 When the channel receives the data packet and the fault bit is 0, the channel corresponds to the green light. If the channel receives the datagram containing a plurality of times of fault information packets and packet initialization completion bit is 0, the channel corresponding to the communication status indicates green, red and product failure state indication indicates a fault category, wherein the category display fault "initialization failure "
 If the product accumulates multiple times, the initialization completion bit is still 1 in the data packet uploaded in a channel, or the initialization completion bit is initialized in the data packets in one-range segment (intermediate unbapped). 0, but the initialization completion bit is 1 in this round of data packets, the channel communication status indicates the green light and the product failure status indicates the red light, where the fault category displays "initialization failure";
 If a channel is timeless, add 1 communication fault counter plus 1, and jumps to the next channel. If the number of communication counters reaches a certain number of times, the fault position is normal, the counter remains unchanged; if there is no answer to multiple channels, then prompt to check the communication line; a single channel communication counter has been accepted multiple times, This channel is set to fault, the communication status indicates the red light.
 g) Status display: Display the power status, when the output voltage exceeds the warning value, trigger alarm display; when the output voltage, the current exceeds the protection value, the software control turns off the power supply. Display the data state of each channel communication state, product failure status, and received control board data packet data state;
 h) End Test: Can generate a log and test report, directly display the results and position the faultboard and the fault category;
 i) Logs and reports View: The log content contains the start time, the end time, the serial number, temperature, voltage, current, emergency stop button status, communication monitoring parameters, start-up status, results state, etc. The aging test report content start time, end time, employee number, circuit board image, serial number, resulting state.
 On the monitoring component, there is a manual interface interface. The human-computer interaction interface is used to enter the serial number, employee number and board image of the circuit board to be tested, and the aging test start time and the end time of aging test;
 In summary, the set of aging test systems and methods of the circuit board of the automotive motor controller of the present invention are provided in the aging box, which is used to connect to multiple aging on the board to be tested and to be tested. Control unit; and by monitoring component control analog control unit to provide multiple working signals required to be tested by the circuit board aging test; and send the read multiplely tolerated circuit boards to the monitoring component according to the test packet generated by the work signal The monitoring component is again parsed the test packets to determine the aging state corresponding to the circuit board to be tested according to the number and fault information of the plurality of time to test the circuit board. Compared to the prior art, multiple ages to be tested in the motor controller can be achieved, and the aging faults of the controller can be positioned on a single controller board, thereby achieving parallel dynamics of a set of circuit boards. Aging, significant improvement of process efficiency, and also enables positioning of aging faults on the internal board of the controller.
 In a preferred embodiment, the system and method in the present invention can realize real-time inspection and real-time state of the circuit board to be detected, and the communication parameters of the communication channel to be detected between the board and the monitoring component are detected and the fault can be queried and exported. record;
 In a preferred embodiment, the system and method in the present invention can realize the power supply output, logic protection, delay-related parameters configurable and automatic loading; and the entire aging process is anti-anti-wrong, reducing human intervention, generating logs and The report is convenient for fault positioning and traceability.