A kind of handling controller detection means and detection method
Technical field
The present invention relates to the detection means and method of handling controller technical field, more particularly to a kind of handling controller.
Background technology
ZCK handling controller product major functions be 22 valve group analog line drivers of vehicle are carried out automatic SECO and
Control manually.
Because the product is the pass heavy parts of vehicle driving system, and at present without the survey individually detected for ZCK products
Try equipment, be limited only to by changing product come decision problem, workload is big, and the technical difficulty of failure judgement is big, and the time compared with
It is long, occur unavoidably mistake look into, under-enumeration phenomenon, directly influence the q&r of vehicle.
The content of the invention
In view of above-mentioned analysis, the present invention is intended to provide the detection means and detection method of a kind of handling controller, to
Solve the problems, such as that no Special Equipment detects to ZCK handling controllers in the prior art.
The purpose of the present invention is mainly achieved through the following technical solutions:
The invention provides a kind of handling controller detection means, including:
Energy supply control module, supply of electric power is provided for other functional modules for detection means;
Input module is sampled, for when receiving the working condition signal that detected handling controller is sent, believing according to operating mode
Number type sampled to being detected the corresponding power signal that exports in handling controller, the power signal is changed to number
Word signal, and inputted after signal isolation is handled to acquisition control module;
Acquisition control module, for the data signal obtained after conversion and predetermined work condition state to be analysed and compared, and
Analysis result is sent to output display module;
Output display module, for showing the state of the tested handling controller according to the analysis result received.
Further, the energy supply control module includes:220V/24V Switching Power Supplies and 24V/5V power modules two level electricity
Source, wherein 5V are supplied to the acquisition control module, and 24V is supplied to the sampling input module.
Further, the acquisition control module specifically includes:CPU, watchdog circuit and communication module, wherein,
Watchdog circuit, for carrying out reset operation to CPU after the electricity on CPU;
CPU, the operating mode of handling controller is tested for after the completion of reset, triggering the sampling input module circle collection
Signal and corresponding power signal is gathered according to the type of working condition signal, then CPU is according to from acquisition control module receipts
To data signal and predetermined work condition state carry out analysis contrast, and analysis result is exported to communication module;
Communication module, for analysis result to be exported into the output display module.
Further, the CPU is to according to the data signal and predetermined work condition state received from the acquisition control module
Analysis contrast is carried out,:If be consistent with default work condition state, the tested handling controller is working properly;Such as with default work
Condition state is not inconsistent, then the tested handling controller breaks down.
Further, the output display module includes:Signal lamp and display screen, the output display module can show
Show following state:
Power supply indicator status display, including:Normally/failure;
Signal lamp status display, including:Normally/failure;
Manual/auto detection state switching indicator lamp is shown;
Display screen status display, including:Normal and failure.
Further, the power signal of the tested handling controller output shares 22 groups, respectively corresponding and different type
Work condition state.
Present invention also offers a kind of handling controller detection method, including:
Auto state initializes;
The working condition signal that input module circle collection is tested handling controller is sampled, after working condition signal is received, accordingly
Collection power signal corresponding with the working condition signal, and be sent to acquisition control module CPU I/O port;
Acquisition control module sequence detection CPU I/O port, when judging whether I/O port P1.0 receives power signal, if
Power signal is received, then record data and is counted, predetermined work condition state carries out analysis contrast:If with default work condition state phase
Symbol, then the tested handling controller is working properly, goes to next I/O port and is judged;Such as with default work condition state not
Symbol, then the tested handling controller failure, records failure, failure accumulator+1;
Completed until all of the port is all detected, whether failure judgement number is equal to 0, if it is, output display module is shown
Function is normal, and otherwise, output display module realizes malfunction and in order output display fault data.
Further, the auto state initialization includes:
When handling controller detection means is switched under automatic detection state, sampling input module, acquisition control module,
Display output module obtains electric;
CPU is resetted by external reset circuit, is started each I/O ports, timer and PORT COM and is carried out initially
Change.
The present invention has the beneficial effect that:
Present invention accomplishes the needs that automatic detection is carried out to handling controller monomer product, it is ensured that product component function
Reliability, save detection time, improve the detection efficiency of product.
Other features and advantages of the present invention will illustrate in the following description, also, partial become from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is only used for showing the purpose of specific embodiment, and is not considered as limitation of the present invention, in whole accompanying drawing
In, identical reference symbol represents identical part.
Fig. 1 is the structural representation of described device of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of method described in the embodiment of the present invention.
Embodiment
The preferred embodiments of the present invention are specifically described below in conjunction with the accompanying drawings, wherein, accompanying drawing forms the application part, and
It is used for the principle for explaining the present invention together with embodiments of the present invention.
Described device of the embodiment of the present invention is described in detail with reference to accompanying drawing first.
As shown in figure 1, Fig. 1 is the structural representation of described device of the embodiment of the present invention, can specifically include:Power supply
Module, sampling input module, acquisition control module and output display module.The detection means passes through feed cable and power signal
Gather cable and carry out data exchange with the system, by the input state of sensed power, be compared according to preset program
Judging, the function according to the handling controller judges whether sampled value meets index request, and by the letter of tested handling controller
Breath state (working condition and fault message) is shown in display screen.
Each functional module of handling controller detection means in the present invention is described in more detail below.
Energy supply control module, the power input of the energy supply control module (can be changed to for alternating current 220V according to the requirement of user
24V direct currents input), modular Power Management Design is employed, is made up of 220V/24V Switching Power Supplies and 24V/5V secondary power supplies, its
Middle 5V is supplied to acquisition control module, and 24V is supplied to sampling input module.It is exactly specifically outside 220V three-phase alternating currents
Input, by Switching Power Supply, 220V exchanges are converted into 24V dc sources, power supply filter is then carried out by wave filter and TVS pipe
Ripple, the use of DC5 DC power suppliers is finally 5V essence power supplys by the 24V power conversions for having filtered ripple.
Input module is sampled, when receiving the working condition signal of tested handling controller output, according to the working condition signal
The corresponding power signal of type (such as land working condition signal, marine working condition signal etc.) collection ZCK handling controller outputs, by this
Power signal is changed to data signal, and after signal isolation is handled, and is passed the power signal by special signal shielded cable
It is sent to acquisition control module.Wherein, the power signal of ZCK handling controllers output shares 22 groups, respectively corresponding and different type
Work condition state.Signal isolation processing is to be done caused by surrounding environment for solving to occur during power signal transmissions etc.
Disturb).
Acquisition control module, the data signal for being mainly used in obtain after conversion carry out analysis ratio with predetermined work condition state
It is right, and analysis result is sent to output display module;
The acquisition control module mainly includes:CPU, communication module and watchdog circuit, wherein, CPU is as core
Part, CPU uses Freescale MC9S12XEQ512 chips in the embodiment of the present invention, is mainly used in control sampling input module
Circle collection working condition signal and corresponding power signal is gathered according to the type of working condition signal, then to sampling input module hair
The power signal given carries out analyzing contrast processing.Specifically include:CPU is answered by resetting watchdog circuit after upper electricity
Bit manipulation, after the completion of cpu reset, by main program automatic running, triggering sampling input module circle collection is tested to manipulate control
The working condition signal of device simultaneously gathers corresponding power signal according to the type of working condition signal, right by the program circuit being pre-designed
Whether work condition state meets that product function is judged, i.e., is analyzed power signal and predetermined work condition state set in advance
Contrast:If be consistent with default work condition state, the tested handling controller is working properly;Such as with default work condition state not
Symbol, then the tested handling controller breaks down, and will determine that 232 communication ports that result is carried by CPU are exported to communication mould
Block (uses MAX232 communication interface chips) in the embodiment of the present invention.
Output display module, when manipulating detection means for user, the detection means foundation detects the signal received, warp
Condition judgment, such as:When receiving land working condition signal, land clutch combines, and oil circuit and shutter ON signal waterborne is simultaneously
Open 3 seconds, now if CPU sample ports adopt corresponding power signal, that is, meet that program presets work condition state, then show just
Often;Power signal such as sample port sampling is not inconsistent (such as wherein a certain item confiscates signal) with default work condition state, then will
Detected miss status information (i.e. fault message) is shown on display screen.The output display module refers to including 22 road signals
Show lamp and state display etc..
The apparatus function button includes:
Operation button:
Power switch button;
Manual/auto detection state switching push button.
The content that the display operation module can be shown includes:
Status display:
A) power supply indicator status display (normal/failure);
B) signal lamp status display (normal/failure);
C) manual/auto detection state switching indicator lamp is shown;
D) display screen status display (normal and fault message).
As shown in Fig. 2 Fig. 2 is the schematic flow sheet of detection method described in the embodiment of the present invention, including device initialization step
Suddenly, input signal comparison processing, display output state etc., it is specific as follows:
Step 201:Auto state initializes, in initialization step, when handling controller detection means is switched to automatically
When under detection state, obtained using input module, acquisition control module, display output module electric, the above is complete by energy supply control module
Into.CPU is resetted by external reset circuit, is started each I/O ports, timer and PORT COM and is initialized.
Step 202:The working condition signal that input module circle collection is tested handling controller is sampled, when receiving working condition signal
Afterwards, corresponding collection power signal corresponding with the working condition signal, and it is sent to acquisition control module CPU I/O port;
Step 203:Acquisition control module sequence detection CPU I/O port, judges whether I/O port P1.0 receives power letter
Number when, if receiving power signal, record data simultaneously counts, and predetermined work condition state carries out analysis contrast:If with default work
Condition state is consistent, then the tested handling controller is working properly, goes to next I/O port and is judged;Such as with default operating mode
State is not inconsistent, then the tested handling controller breaks down, and records failure, failure accumulator+1;
Step 204:After the completion of judgement to P1.0 ports, then detect P1.1 port ... until all of the port all by
Detection is completed, and sequential terminates, and takes failure accumulator defect content;
Step 205:Whether number of faults is equal to 0, if it is, output display module display function is normal, otherwise, in order
Export and show fault data.
In step display, output display module is shown according to the result of judgement by 232 serial ports in LED display
Test result.When signal confirms to meet condition, display is normal;When certain road signal does not meet condition, by this road deleted signal
(i.e. fault message) is shown.
In summary, the embodiments of the invention provide a kind of detection means of handling controller and detection method, by with
The data acquisition and exchange of handling controller monomer product detects the performance indications of the system, working condition and fault message,
Meet the needs that automatic detection is carried out to handling controller monomer product, it is ensured that the reliability of product component function, save
Detection time, improve the detection efficiency of product.
It will be understood by those skilled in the art that realizing all or part of flow of above-described embodiment method, meter can be passed through
Calculation machine program instructs the hardware of correlation to complete, and described program can be stored in computer-readable recording medium.Wherein, institute
Computer-readable recording medium is stated as disk, CD, read-only memory or random access memory etc..
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,
Any one skilled in the art the invention discloses technical scope in, the change or replacement that can readily occur in,
It should all be included within the scope of the present invention.