CN101551410B - Electrical source for detecting electromagnetic valve quality of automobile - Google Patents

Electrical source for detecting electromagnetic valve quality of automobile Download PDF

Info

Publication number
CN101551410B
CN101551410B CN2009100621523A CN200910062152A CN101551410B CN 101551410 B CN101551410 B CN 101551410B CN 2009100621523 A CN2009100621523 A CN 2009100621523A CN 200910062152 A CN200910062152 A CN 200910062152A CN 101551410 B CN101551410 B CN 101551410B
Authority
CN
China
Prior art keywords
return
key
pin
module
press
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009100621523A
Other languages
Chinese (zh)
Other versions
CN101551410A (en
Inventor
周凤星
孟志华
杨君
张在波
黎昭霞
叶进军
章泰
王莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Dongjiang Valves Manufacturing Co., Ltd.
Wuhan University of Science and Engineering WUSE
Original Assignee
Wuhan Dongjiang Valves Manufacturing Co Ltd
Wuhan University of Science and Engineering WUSE
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Dongjiang Valves Manufacturing Co Ltd, Wuhan University of Science and Engineering WUSE filed Critical Wuhan Dongjiang Valves Manufacturing Co Ltd
Priority to CN2009100621523A priority Critical patent/CN101551410B/en
Publication of CN101551410A publication Critical patent/CN101551410A/en
Application granted granted Critical
Publication of CN101551410B publication Critical patent/CN101551410B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Liquid Crystal Display Device Control (AREA)

Abstract

The present invention particular relates to an electrical source for detecting electromagnetic valve quality of automobile. A technical scheme includes: three row lines and three list lines of a matrix keyboard connect with terminal ports P10-P15 relative to a monolithic computer (4), terminal ports P100-P07, P16, P17, /WR and /RD of the monolithic computer (4) connect with terminal ports DB0-DB7,/CE, C/D, /WR and /RD relative to LCD (5); terminal ports P00-P07, P20-P22, RST and /WR of the monolithic computer (4) connect with terminal ports DB0-DB7, f-c, q-c, v-c, RST and /WR relative to FPGA (6). A main program module, a LCD write-in module, a keyboard process module, a liquid crystal display parameter setup module and a data processing module are wrote into an internal memory of the mon olithic computer (2), a FPGA inner PWM wave shape generating module is used for describing language programing. The electrical source can set electric voltage amplitude, frequency and dutycycle random, the electric voltage variation range is 0-32V, the frequency variation range is 0-25000Hz, the dutycycle variation range is 0-100%, and can simulate actual operating status of various type electromagnetic valve.

Description

A kind of power supply that is used for detecting electromagnetic valve quality of automobile
Technical field
The invention belongs to power technique fields.Be specifically related to a kind of power supply that is used for detecting electromagnetic valve quality of automobile.
Background technology
Quickening along with the automotive electronics process; The applied more and more of electron controls technology on automobile; This technology being widely used on engine and car load; Make the various operating modes of automobile be in optimum Working all the time, each item performance index obtain bigger improvement, like dynamic property, reliability, security and comfortableness of automobile or the like.No matter how excellent control computing function arranged in these electronic installations, if there is not good electricapparatus inverting element, i.e. executive component, total system is inoperable, executive component just is equivalent to the brothers of control system thus.The last output form of executive component is to be electrical signal conversion physical quantitys such as power or displacement, is exactly to be electrical signal conversion straight-line executive component like solenoid valve, thereby guarantees the realization and the completion of various control function.And along with the quickening of automotive electronics process, the developing rapidly and using of automobile hi-tech will also can be increasingly high to the requirement of output function, response speed and the precision of executive component, and be therefore also increasingly high to the performance requirement of solenoid valve.
Detection to the automobile electromagnetic valve at present only can detect the quality of solenoid valve; Detect trouble spot (gas leakage, ventilation are slow, stuffiness, coil opens circuit and short circuit, coil electrode bonding or coil minus earth etc.); And to the stable operation index of solenoid valve under long-time actual working state; Can't test like the variation of solenoid valve variation of temperature, throughput or the like performance index, not have the equipment of magnetic valve performance test.
Summary of the invention
The present invention is intended to overcome above-mentioned technological deficiency, and purpose provides a kind of power supply that can simulate the actual working state of variety classes solenoid valve.
For realizing above-mentioned purpose; The technical scheme that the present invention adopts is: three column rules of matrix keyboard are connected with single-chip microcomputer corresponding port P10~P15 with three alignments; The XTAL2 that two ports of the 12M crystal oscillator of clock circuit are corresponding with single-chip microcomputer, XTAL1 pin connect, and the reset circuit output terminal is connected with the RST pin of single-chip microcomputer; Port P00~the P07 of single-chip microcomputer is connected with LCD corresponding port DB0~DB7; The writing of single-chip microcomputer, read signal pin/WR and/RD are corresponding with LCD writes, read signal pin/WR is connected with/RD, and the P16 of single-chip microcomputer, P17 pin be corresponding with LCD/and CE, C/D pin connect; Port P00~the P07 of single-chip microcomputer is connected with FPGA corresponding port DB0~DB7; Port P20~the P22 of single-chip microcomputer is connected with FPGA corresponding port f_c, q_c, v_c; Write signal pin/the WR of single-chip microcomputer is connected with write signal pin/WR of FPGA; The reset signal pin RST of single-chip microcomputer is connected with the reset signal pin RST of FPGA; The pin clk of FPGA is connected with the pin clk of clock module, and the pin vcc of FPGA is connected with the pin vcc of power module, and the pin pwm of FPGA is connected with the input end of drive circuit module.
The program that main program module, liquid crystal writing module, keyboard processing module, liquid crystal display parameter are provided with module and data processing module writes the internal storage of single-chip microcomputer, and the inner PWM waveform generation module of FPGA is programmed with hardware description language.
Three column rules of described matrix keyboard are connected with+5V power supply through pull-up resistor R1, R2, R3, and three column rules are imported through one 3 and are connected with the INT0 pin of single-chip microcomputer.
The inner PWM waveform generation module of described FPGA is: port DB0~DB7 of FPGA, f_c, q_c, data input pin din0~din7, frequency control terminal f_c, dutycycle control end q_c, amplitude control end v_c connection that v_c is corresponding with data distributor; Data input pin din0~din7 that the data output end dout0~dout7 of data distributor is corresponding with amplitude registers, duty cycle register and frequency register respectively is connected; The data input pin din0 that the data output end dout0~dout7 of amplitude registers is corresponding with steering logic~din7 connects; The data input pin din8 that the data output end dout0~dout7 of duty cycle register is corresponding with steering logic~din15 connects; The data input pin din16 that the data output end dout0~dout7 of frequency register is corresponding with steering logic~din23 connects; The clock signal terminal clk of steering logic is connected with the pin clk of FPGA, and the pin pwm of steering logic is connected with the input end of drive circuit module.
The program circuit of described main program module is:
S1-1: liquid crystal display initialization;
S1-2: port initialization allows external interrupt INT0;
S1-3: call the liquid crystal display parameter module is set;
S1-4: judged whether that initiating key presses,, then returned S1-3 if there is not initiating key to press; If there is initiating key to press, then carry out next step;
S1-5: call data processing module;
S1-6: judged whether external interrupt,, then returned S1-3 if external interrupt is arranged; If there is not external interrupt, then return S1-5.
The program circuit of described liquid crystal writing module is:
S2-1: " state " inspection;
S2-2: write the least-significant byte address;
S2-3: " state " inspection;
S2-4: write the most-significant byte address;
S2-5: " state " inspection;
S2-6: write order word 24H.
The program circuit of described keyboard processing module is:
S3-1: put 0 for P13~P15;
S3-2: judge whether P10~P12 is 1 entirely,, then return S3-1,, then carry out next step if P10~P12 is not 1 entirely if P10~P12 is 1 entirely;
S3-3: shake is gone in time-delay;
S3-4: judge whether P10~P12 is 1 entirely,, then return S3-1,, then carry out next step if P10~P12 is not 1 entirely if P10~P12 is 1 entirely;
S3-5: put the line scanning initial value;
S3-6: scan bits is from low 6 outputs of P1 mouth;
S3-7: read P10~P12 value;
S3-8: judge whether this row has key to press,, then skip to S3-11,, then carry out next step if this row does not have key to press if this row has key to press;
S3-9: form the next line scan code;
S3-10: judge whether to scan last column,, then return S3-7,, then carry out next step if scan last column if do not scan last column;
S3-11: as the row value, keep P10~P12, P16 and P17, P13~P15 is changed to 0 as train value, row value+train value=key value to P1 mouth value at this moment;
S3-12: the key value is returned to principal function.
The program circuit that described liquid crystal display parameter is provided with module is:
S4-01: judge key assignments corresponding parameters setting option;
S4-11: frequency configuration;
S4-12: original frequency setting;
S4-13: judge whether to press definite key,, then return S4-12,, then carry out next step if supress definite key if do not press definite key;
S4-14: stop frequency configuration;
S4-15: judge whether to press definite key,, then return S4-14,, then carry out next step if supress definite key if do not press definite key;
S4-16: return principal function.
S4-21: dutycycle setting;
S4-22: initial duty cycle setting;
S4-23: judge whether to press definite key,, then return S4-22,, then carry out next step if supress definite key if do not press definite key;
S4-24: stop the dutycycle setting;
S4-25: judge whether to press definite key,, then return S4-24,, then carry out next step if supress definite key if do not press definite key;
S4-26: return principal function.
S4-31: amplitude setting;
S4-32: initial amplitude setting;
S4-33: judge whether to press definite key,, then return S4-32,, then carry out next step if supress definite key if do not press definite key;
S4-34: the termination amplitude is provided with;
S4-35: judge whether to press definite key,, then return S4-34,, then carry out next step if supress definite key if do not press definite key;
S4-36: return principal function.
S4-41: the time is provided with;
S4-42: time T is set;
S4-43: judge whether to press definite key,, then return S4-42,, then carry out next step if supress definite key if do not press definite key;
S4-44: return principal function.
The program circuit of described data processing module is:
S5-1: data initialization;
S5-2: open timer 0;
S5-3: judge whether TF0 equals 1,, then carry out next step,, then continue to judge whether TF0 equals 1 if TF0 is not equal to 1 if TF0 equals 1;
S5-4: judge whether count value reaches setting value,, then return S5-3,, then carry out next step if count value has reached setting value if do not reach setting value;
S5-5: the value that changes frequency, dutycycle and amplitude;
S5-6: judge whether to change to final data,, then return S5-3,, then return S5-1 if change to final data if do not change to final data.
Owing to adopt technique scheme; Design of power of the present invention can be provided with voltage amplitude, frequency and dutycycle arbitrarily; Its voltage amplitude variation scope is 0~32V; Frequency range is 0~25000HZ, and the change in duty cycle scope is 0~100%, can simulate the actual working state of variety classes solenoid valve.The invention design of power can also define the one-period time T, and T=N * 10s, N are positive integer.In this cycle, the power source voltage amplitude, frequency, the dutycycle that are applied to the automobile electromagnetic valve can change arbitrarily, like voltage amplitude in one-period internal linear or non-linear increase or minimizing; Frequency is in one-period internal linear or non-linear increase or minimizing; Dutycycle is the cycle infinite loop with T in one-period internal linear or non-linear increase or minimizing then; Design of power of the present invention can be passed through LCD amplitude, frequency, the dutycycle of display power supply in real time, through keyboard the needed power data of user is set.
The explanation of accompanying drawing table
Fig. 1 is a kind of structural representation of the present invention;
Fig. 2 is the circuit diagram of the matrix keyboard 3 among Fig. 1;
Fig. 3 is the structural representation of the inner PWM waveform generation module of FPGA6 among Fig. 1;
Fig. 4 is a main program module process flow diagram of the present invention;
Fig. 5 is a keyboard processing module process flow diagram of the present invention;
Fig. 6 is a liquid crystal writing module process flow diagram of the present invention;
Fig. 7 is that liquid crystal display parameter of the present invention is provided with the module process flow diagram;
Fig. 8 is a data processing module process flow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is done further description:
A kind of power supply that is used for detecting electromagnetic valve quality of automobile, the model of single-chip microcomputer 4 is AT89C55; The model of LCD5 is built-in T6963C controller LCD MODULE.Concrete structure is as shown in Figure 1: three column rules of matrix keyboard 3 are connected with single-chip microcomputer 4 corresponding port P10~P15 with three alignments; Two ports of the 12M crystal oscillator of clock circuit 2 connect with single-chip microcomputer 4 corresponding XTAL2, XTAL1 pins, and reset circuit 1 output terminal is connected with the RST pin of single-chip microcomputer 4; Port P00~the P07 of single-chip microcomputer 4 is connected with LCD5 corresponding port DB0~DB7; The writing of single-chip microcomputer 4, read signal pin/WR and/RD are corresponding with LCD5 writes, read signal pin/WR is connected with/RD, and the P16 of single-chip microcomputer 4, P17 pin be corresponding with LCD5/and CE, C/D pin connect; Port P00~the P07 of single-chip microcomputer 4 is connected with FPGA6 corresponding port DB0~DB7; Port P20~the P22 of single-chip microcomputer 4 is connected with FPGA6 corresponding port f_c, q_c, v_c; Write signal pin/the WR of single-chip microcomputer 4 is connected with write signal pin/WR of FPGA6; The reset signal pin RST of single-chip microcomputer 4 is connected with the reset signal pin RST of FPGA6; The pin clk of FPGA6 is connected with the pin clk of clock module 7, and the pin vcc of FPGA6 is connected with the pin vcc of power module 8, and the pin pwm of FPGA6 is connected with the input end of drive circuit module 9.
The program that main program module, liquid crystal writing module, keyboard processing module, liquid crystal display parameter are provided with module and data processing module writes the internal storage of single-chip microcomputer 2, and the inner PWM waveform generation module of FPGA is programmed with hardware description language.
The circuit diagram of matrix keyboard 3 is as shown in Figure 2: three column rules are connected with+5V power supply through pull-up resistor R1, R2, R3, and three column rules are imported through one 3 and are connected with the INT0 pin of single-chip microcomputer 4.
The structure of the inner PWM waveform generation module of FPGA6 is as shown in Figure 3: port DB0~DB7 of FPGA6, f_c, q_c, v_c connect with data distributor 10 corresponding data input pin din0~din7, frequency control terminal f_c, dutycycle control end q_c, amplitude control end v_c; Data output end dout0~the dout7 of data distributor 10 is connected with amplitude registers 11, duty cycle register 12 and frequency register 14 corresponding data input pin din0~din7 respectively; Data output end dout0~the dout7 of amplitude registers 11 connects with steering logic 13 corresponding data input pin din0~din7; Data output end dout0~the dout7 of duty cycle register 12 connects with steering logic 13 corresponding data input pin din8~din15; Data output end dout0~the dout7 of frequency register 14 connects with steering logic 13 corresponding data input pin din16~din23; The clock signal terminal clk of steering logic 13 is connected with the pin clk of FPGA6, and the pin pwm of steering logic 13 is connected with the input end of drive circuit module 9.
The program circuit of main program module is as shown in Figure 4:
S1-1: liquid crystal display initialization;
S1-2: port initialization allows external interrupt INT0;
S1-3: call the liquid crystal display parameter module is set;
S1-4: judged whether that initiating key presses,, then returned S1-3 if there is not initiating key to press; If there is initiating key to press, then carry out next step;
S1-5: call data processing module;
S1-6: judged whether external interrupt,, then returned S1-3 if external interrupt is arranged; If there is not external interrupt, then return S1-5.
The program circuit of keyboard processing module is as shown in Figure 5:
S3-1: put 0 for P13~P15;
S3-2: judge whether P10~P12 is 1 entirely,, then return S3-1,, then carry out next step if P10~P12 is not 1 entirely if P10~P12 is 1 entirely;
S3-3: shake is gone in time-delay;
S3-4: judge whether P10~P12 is 1 entirely,, then return S3-1,, then carry out next step if P10~P12 is not 1 entirely if P10~P12 is 1 entirely;
S3-5: put the line scanning initial value;
S3-6: scan bits is from low 6 outputs of P1 mouth;
S3-7: read P10~P12 value;
S3-8: judge whether this row has key to press,, then skip to S3-11,, then carry out next step if this row does not have key to press if this row has key to press;
S3-9: form the next line scan code;
S3-10: judge whether to scan last column,, then return S3-7,, then carry out next step if scan last column if do not scan last column;
S3-11: as the row value, keep P10~P12, P16 and P17, P13~P15 is changed to 0 as train value, row value+train value=key value to P1 mouth value at this moment;
S3-12: the key value is returned to principal function.
The program circuit of liquid crystal writing module is as shown in Figure 6:
S2-1: " state " inspection;
S2-2: write the least-significant byte address;
S2-3: " state " inspection;
S2-4: write the most-significant byte address;
S2-5: " state " inspection;
S2-6: write order word 24H.
It is as shown in Figure 7 that the liquid crystal display parameter is provided with the program circuit of module:
S4-01: judge key assignments corresponding parameters setting option;
S4-11: frequency configuration;
S4-12: original frequency setting;
S4-13: judge whether to press definite key,, then return S4-12,, then carry out next step if supress definite key if do not press definite key;
S4-14: stop frequency configuration;
S4-15: judge whether to press definite key,, then return S4-14,, then carry out next step if supress definite key if do not press definite key;
S4-16: return principal function.
S4-21: dutycycle setting;
S4-22: initial duty cycle setting;
S4-23: judge whether to press definite key,, then return S4-22,, then carry out next step if supress definite key if do not press definite key;
S4-24: stop the dutycycle setting;
S4-25: judge whether to press definite key,, then return S4-24,, then carry out next step if supress definite key if do not press definite key;
S4-26: return principal function.
S4-31: amplitude setting;
S4-32: initial amplitude setting;
S4-33: judge whether to press definite key,, then return S4-32,, then carry out next step if supress definite key if do not press definite key;
S4-34: the termination amplitude is provided with;
S4-35: judge whether to press definite key,, then return S4-34,, then carry out next step if supress definite key if do not press definite key;
S4-36: return principal function.
S4-41: the time is provided with;
S4-42: time T is set;
S4-43: judge whether to press definite key,, then return S4-42,, then carry out next step if supress definite key if do not press definite key;
S4-44: return principal function.
The program circuit of data processing module is as shown in Figure 8:
S5-1: data initialization;
S5-2: open timer 0;
S5-3: judge whether TF0 equals 1,, then carry out next step,, then continue to judge whether TF0 equals 1 if TF0 is not equal to 1 if TF0 equals 1;
S5-4: judge whether count value reaches setting value,, then return S5-3,, then carry out next step if count value has reached setting value if do not reach setting value;
S5-5: the value that changes frequency, dutycycle and amplitude;
S5-6: judge whether to change to final data,, then return S5-3,, then return S5-1 if change to final data if do not change to final data.
This embodiment design of power can be provided with voltage amplitude, frequency and dutycycle arbitrarily; Its voltage amplitude variation scope is 0~32V; Frequency range is 0~25000HZ, and the change in duty cycle scope is 0~100%, can simulate the actual working state of variety classes solenoid valve.The invention design of power can also define the one-period time T, and T=N * 10s, N are positive integer.In this cycle, the power source voltage amplitude, frequency, the dutycycle that are applied to the automobile electromagnetic valve can change arbitrarily, like voltage amplitude in one-period internal linear or non-linear increase or minimizing; Frequency is in one-period internal linear or non-linear increase or minimizing; Dutycycle is the cycle infinite loop with T in one-period internal linear or non-linear increase or minimizing then; The invention design of power can be passed through LCD amplitude, frequency, the dutycycle of display power supply in real time, through keyboard the needed power data of user is set.

Claims (7)

1. power supply that is used for detecting electromagnetic valve quality of automobile; Three column rules that it is characterized in that matrix keyboard [3] are connected with single-chip microcomputer [4] corresponding port P10~P15 with three alignments; The XTAL2 that two ports of the 12M crystal oscillator of clock circuit [2] are corresponding with single-chip microcomputer [4], XTAL1 pin connect, and reset circuit [1] output terminal is connected with the RST pin of single-chip microcomputer [4]; Port P00~the P07 of single-chip microcomputer [4] is connected with LCD [5] corresponding port DB0~DB7; The writing of single-chip microcomputer [4], read signal pin/WR and/RD are corresponding with LCD [5] writes, read signal pin/WR is connected with/RD, and the P16 of single-chip microcomputer [4], P17 pin be corresponding with LCD [5]/and CE, C/D pin connect; Port P00~the P07 of single-chip microcomputer [4] is connected with FPGA [6] corresponding port DB0~DB7; Port P20~the P22 of single-chip microcomputer [4] is connected with FPGA [6] corresponding port f_c, q_c, v_c; Write signal pin/the WR of single-chip microcomputer [4] is connected with write signal pin/WR of FPGA [6]; The reset signal pin RST of single-chip microcomputer [4] is connected with the reset signal pin RST of FPGA [6]; The pin clk of FPGA [6] is connected with the pin clk of clock module [7], and the pin vcc of FPGA [6] is connected with the pin vcc of power module [8], and the pin pwm of FPGA [6] is connected with the input end of drive circuit module [9];
The inner PWM waveform generation module of FPGA is: port DB0~DB7 of FPGA [6], f_c, q_c, data input pin din0~din7, frequency control terminal f_c, dutycycle control end q_c, amplitude control end v_c connection that v_c is corresponding with data distributor [10]; Data output end dout0~the dout7 of data distributor [10] is connected with amplitude registers [11], duty cycle register [12] data input pin din0~din7 corresponding with frequency register [14] respectively; The data input pin din0 that the data output end dout0~dout7 of amplitude registers [11] is corresponding with steering logic [13]~din7 connects; The data input pin din8 that the data output end dout0~dout7 of duty cycle register [12] is corresponding with steering logic [13]~din15 connects; The data input pin din16 that the data output end dout0~dout7 of frequency register [14] is corresponding with steering logic [13]~din23 connects; The clock signal terminal clk of steering logic [13] is connected with the pin clk of FPGA [6], and the pin pwm of steering logic [13] is connected with the input end of drive circuit module [9];
The program that main program module, liquid crystal writing module, keyboard processing module, liquid crystal display parameter are provided with module and data processing module writes the internal storage of single-chip microcomputer [2], and the inner PWM waveform generation module of FPGA is programmed with hardware description language.
2. the power supply that is used for detecting electromagnetic valve quality of automobile according to claim 1; Three column rules that it is characterized in that described matrix keyboard [3] are connected with+5V power supply through pull-up resistor R1, R2, R3, and three column rules are imported through one 3 and are connected with the INT0 pin of single-chip microcomputer [4].
3. the power supply that is used for detecting electromagnetic valve quality of automobile according to claim 1 is characterized in that the program circuit of described main program module is:
S1-1: liquid crystal display initialization;
S1-2: port initialization allows external interrupt INT0;
S1-3: call the liquid crystal display parameter module is set;
S1-4: judged whether that initiating key presses,, then returned S1-3 if there is not initiating key to press; If there is initiating key to press, then carry out next step;
S1-5: call data processing module;
S1-6: judged whether external interrupt,, then returned S1-3 if external interrupt is arranged; If there is not external interrupt, then return S1-5.
4. the power supply that is used for detecting electromagnetic valve quality of automobile according to claim 1 is characterized in that the program circuit of described liquid crystal writing module is:
S2-1: " state " inspection;
S2-2: write the least-significant byte address;
S2-3: " state " inspection;
S2-4: write the most-significant byte address;
S2-5: " state " inspection;
S2-6: write order word 24H.
5. the power supply that is used for detecting electromagnetic valve quality of automobile according to claim 1 is characterized in that the program circuit of described keyboard processing module is:
S3-1: put 0 for alignment corresponding port P13~P15;
S3-2: judge whether column rule corresponding port P10~P12 is 1 entirely,, then return S3-1,, then carry out next step if P10~P12 is not 1 entirely if P10~P12 is 1 entirely;
S3-3: shake is gone in time-delay;
S3-4: judge whether P10~P12 is 1 entirely,, then return S3-1,, then carry out next step if P10~P12 is not 1 entirely if P10~P12 is 1 entirely;
S3-5: put the line scanning initial value;
S3-6: scan bits is from low 6 outputs of P1 mouth;
S3-7: read P10~P12 value;
S3-8: judge whether this row has key to press,, then skip to S3-11,, then carry out next step if this row does not have key to press if this row has key to press;
S3-9: form the next line scan code;
S3-10: judge whether to scan last column,, then return S3-7,, then carry out next step if scan last column if do not scan last column;
S3-11: as the row value, keep P10~P12, P16 and P17, P13~P15 is changed to 0 as train value, row value+train value=key value to P1 mouth value at this moment;
S3-12: the key value is returned to principal function.
6. the power supply that is used for detecting electromagnetic valve quality of automobile according to claim 1 is characterized in that the program circuit that described liquid crystal display parameter is provided with module is:
S4-01: judge key assignments corresponding parameters setting option;
S4-11: frequency configuration;
S4-12: original frequency setting;
S4-13: judge whether to press definite key,, then return S4-12,, then carry out next step if supress definite key if do not press definite key;
S4-14: stop frequency configuration;
S4-15: judge whether to press definite key,, then return S4-14,, then carry out next step if supress definite key if do not press definite key;
S4-16: return principal function;
S4-21: dutycycle setting;
S4-22: initial duty cycle setting;
S4-23: judge whether to press definite key,, then return S4-22,, then carry out next step if supress definite key if do not press definite key;
S4-24: stop the dutycycle setting;
S4-25: judge whether to press definite key,, then return S4-24,, then carry out next step if supress definite key if do not press definite key;
S4-26: return principal function;
S4-31: amplitude setting;
S4-32: initial amplitude setting;
S4-33: judge whether to press definite key,, then return S4-32,, then carry out next step if supress definite key if do not press definite key;
S4-34: the termination amplitude is provided with;
S4-35: judge whether to press definite key,, then return S4-34,, then carry out next step if supress definite key if do not press definite key;
S4-36: return principal function;
S4-41: the time is provided with;
S4-42: time T is set;
S4-43: judge whether to press definite key,, then return S4-42,, then carry out next step if supress definite key if do not press definite key;
S4-44: return principal function.
7. the power supply that is used for detecting electromagnetic valve quality of automobile according to claim 1 is characterized in that the program circuit of described data processing module is:
S5-1: data initialization;
S5-2: open timer 0;
S5-3: judge whether TF0 equals 1,, then carry out next step,, then continue to judge whether TF0 equals 1 if TF0 is not equal to 1 if TF0 equals 1;
S5-4: judge whether count value reaches setting value,, then return S5-3,, then carry out next step if count value has reached setting value if do not reach setting value;
S5-5: the value that changes frequency, dutycycle and amplitude;
S5-6: judge whether to change to final data,, then return S5-3,, then return S5-1 if change to final data if do not change to final data.
CN2009100621523A 2009-05-19 2009-05-19 Electrical source for detecting electromagnetic valve quality of automobile Expired - Fee Related CN101551410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100621523A CN101551410B (en) 2009-05-19 2009-05-19 Electrical source for detecting electromagnetic valve quality of automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100621523A CN101551410B (en) 2009-05-19 2009-05-19 Electrical source for detecting electromagnetic valve quality of automobile

Publications (2)

Publication Number Publication Date
CN101551410A CN101551410A (en) 2009-10-07
CN101551410B true CN101551410B (en) 2012-01-11

Family

ID=41155763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100621523A Expired - Fee Related CN101551410B (en) 2009-05-19 2009-05-19 Electrical source for detecting electromagnetic valve quality of automobile

Country Status (1)

Country Link
CN (1) CN101551410B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101881703A (en) * 2010-06-22 2010-11-10 西安伊目气动元件有限责任公司 Magnetic valve performance detecting system
CN104868889A (en) * 2015-05-07 2015-08-26 苏州固基电子科技有限公司 Pulse-width modulation (PWM) power supply for performance test of automobile magnetic valve
CN104898853B (en) * 2015-05-21 2017-08-25 四川大学 A kind of three end touch-switch

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040026514A (en) * 2002-09-25 2004-03-31 엘지전자 주식회사 Multi input signal level detecting device of the basestation RF system
CN201177747Y (en) * 2008-04-21 2009-01-07 上海大学 Electrohydraulic ratio controller based on field programmable gate array (FPGA)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040026514A (en) * 2002-09-25 2004-03-31 엘지전자 주식회사 Multi input signal level detecting device of the basestation RF system
CN201177747Y (en) * 2008-04-21 2009-01-07 上海大学 Electrohydraulic ratio controller based on field programmable gate array (FPGA)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
许文海等.基于FPGA技术的半导体激光器驱动电源的研制.《红外与激光工程》.2005,第34卷(第3期), *
陈东连等.基于FPGA和单片机的频率监测系统.《电子技术》.2009,(第3期), *

Also Published As

Publication number Publication date
CN101551410A (en) 2009-10-07

Similar Documents

Publication Publication Date Title
US11548024B2 (en) Motion control system of spraying machine based on FPGA and motion control method thereof
CN200986700Y (en) Four wire system resistor type touch screen testing circuit
CN101551410B (en) Electrical source for detecting electromagnetic valve quality of automobile
CN102411108A (en) Multi-station synchronous test system for testing quartz crystal oscillator by continuously raising temperature
CN105573301B (en) A kind of accidental resonance simulation system of adjustable parameter
CN102880582B (en) Programmable delay unit, its method and controller
CN103777386B (en) LCM (Liquid Crystal Display Module) testing machine
CN203191662U (en) Liquid crystal display module test system
CN101900906B (en) Liquid crystal display device with touch-sensing function and touch-sensing method thereof
CN101604277B (en) I<2>C bus verification system and method
CN107807890A (en) FPGA, layout method, equipment and the circuit board of embedded SDRAM memory
CN110737344B (en) Touch display control circuit, control method and electronic equipment
CN102520652A (en) Multifunctional control module for automobile instruments
CN202403774U (en) Multiphase flow simulated experiment signal generation device
CN102542886B (en) Digital logic device preset type digital circuit experiment device
CN110796975B (en) Display panel and display device
CN210666782U (en) System and device for verifying electric energy meter management chip
CN206421804U (en) Consumption detection system and its checking system
CN203025276U (en) Tester of capacitive touch screen module
CN205485607U (en) Analog system of resonance at random of adjustable parameter
CN201725456U (en) Experimental device with microcomputer-controlled heater case
CN201057531Y (en) Control circuit for digital metal detector
CN201000521Y (en) Drive circuit of pen section type LCD device
Li et al. The Design of IP Core for LCD Controller Based on SOPC
CN102402961A (en) Self-test driving circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: WUHAN DONGJIANG VALVES MANUFACTURING CO., LTD.

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Zhou Fengxing

Inventor after: Meng Zhihua

Inventor after: Yang Jun

Inventor after: Zhang Zaibo

Inventor after: Li Zhaoxia

Inventor after: Ye Jinjun

Inventor after: Zhang Tai

Inventor after: Wang Li

Inventor before: Zhou Fengxing

Inventor before: Yang Jun

Inventor before: Ye Jinjun

Inventor before: Zhang Tai

Inventor before: Wang Li

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: ZHOU FENGXING YANG JUN YE JINJUN ZHANG TAI WANG LI TO: ZHOU FENGXING MENG ZHIHUA YANG JUN ZHANG ZAIBO LI ZHAOXIA YE JINJUN ZHANG TAI WANG LI

TA01 Transfer of patent application right

Effective date of registration: 20100728

Address after: 430081 construction of Qingshan District, Hubei, Wuhan

Applicant after: Wuhan University of Science and Technology

Co-applicant after: Wuhan Dongjiang Valves Manufacturing Co., Ltd.

Address before: 430081 construction of Qingshan District, Hubei, Wuhan

Applicant before: Wuhan University of Science and Technology

C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120111

Termination date: 20120519