CN101793203B - Crank shaft and cam shaft signal generator of engine and signal generation method - Google Patents

Crank shaft and cam shaft signal generator of engine and signal generation method Download PDF

Info

Publication number
CN101793203B
CN101793203B CN 201010112588 CN201010112588A CN101793203B CN 101793203 B CN101793203 B CN 101793203B CN 201010112588 CN201010112588 CN 201010112588 CN 201010112588 A CN201010112588 A CN 201010112588A CN 101793203 B CN101793203 B CN 101793203B
Authority
CN
China
Prior art keywords
signal
camshaft
parameter
setting
configuration
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
CN 201010112588
Other languages
Chinese (zh)
Other versions
CN101793203A (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.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech Co Ltd
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 Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN 201010112588 priority Critical patent/CN101793203B/en
Publication of CN101793203A publication Critical patent/CN101793203A/en
Application granted granted Critical
Publication of CN101793203B publication Critical patent/CN101793203B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a crank shaft and cam shaft signal generator of an engine and a signal generation method. The method comprises the following steps of: acquiring signal data of a crank shaft and a cam shaft, which are relevant to an input engine configuration parameter; acquiring the target rotating speed of the engine; circularly inquiring the signal data based on the target rotating speed so as to obtain a signal data output quantity; and generating crank shaft and cam shaft signals of the engine. The invention can improve the universality of the signal generator and achieve the purpose of simulating the change conditions of the crank shaft and cam shaft signals of the engine.

Description

Engine crankshaft and cam shaft signal generator and signal generating method
Technical field
The present invention relates to a kind of engine crankshaft and cam shaft signal generator and signal generating method.
Background technique
At present, the signal generator of existing simulated engine signal produces on the market engine crankshaft and camshaft signal are fixed, and such signal generator all is based on microcomputer development, and each signal generator uses for the fixing motor of certain money.
Because existing signal generator is only applicable to certain fixing engine model, when the crankshaft cam axle sensor of motor changes or signal phase relation when changing, signal generator had just lost efficacy, and must carry out reprograming to the single-chip microcomputer in the signal generator and could adapt to the variation that the crankshaft cam axis signal occurs.And the programming of single-chip microcomputer complicated loaded down with trivial details process often causes the versatility of such signal generator relatively poor, so, be necessary to develop a kind of signal generator that just can adapt to all kinds of different crankshaft cam axis signals through easy configuration.
Only produce fixing engine crankshaft and camshaft signal for signal generator of engine in the correlation technique, the problem that signal generator will lose efficacy when signal source changes not yet proposes effective solution at present.
Summary of the invention
Main purpose of the present invention is to provide a kind of engine crankshaft and cam shaft signal generator and signal generating method, signal generator of engine only produces fixing engine crankshaft and camshaft signal, the problem that signal generator will lose efficacy when signal source changes in the correlation technique to solve.
To achieve these goals, according to an aspect of the present invention, a kind of engine crankshaft and camshaft signal method for generation are provided.
Signal generating method according to engine crankshaft of the present invention and camshaft signal comprises: obtain and the bent axle of the engine configurations parameter correlation connection of inputting and the signal data of camshaft; Obtain the rotating speed of target of motor; Based target rotating speed and cyclic query signal data, thus the signal data output quantity obtained; Generate engine crankshaft and camshaft signal according to the signal data output quantity.
Preferably, before the signal data of the bent axle of the engine configurations parameter correlation obtaining and input connection and camshaft, method also comprises: carry out the engine parameter configuration and generate signal data based on configuration parameter, wherein, the engine parameter configuration comprises: the overall setting, wherein, the parameter of the overall setting of configuration comprises: cylinder number, ignition order, crankshaft signal number and camshaft signal number; Crankshaft signal arranges, and wherein, the parameter of the crankshaft signal setting of configuration comprises: sensor type, signal level, the number of teeth and hypodontia position; Camshaft signal arranges, and wherein, the parameter of the camshaft signal setting of configuration comprises: sensor type, signal level and signal edge.
Preferably, carry out in engine parameter configuration and the step based on configuration parameter generation signal data, adopt the figure configuration interface to carry out the engine parameter configuration, and judge the configuration of every engine parameter whether can with predetermined database in parameter shine upon one by one to judge whether parameter configuration reasonable, may further comprise the steps: configuration totally arranges, judge overall arrange whether reasonable, totally arranging in the rational situation, the March axis signal arranges, otherwise, re-start overall setting; Judge whether the crankshaft signal setting is reasonable, arrange in the rational situation at crankshaft signal, carry out the camshaft signal setting, otherwise, re-start the crankshaft signal setting; Judge whether the camshaft signal setting is reasonable, arrange at camshaft signal and finish whole signal configures processes in the rational situation, otherwise, re-start the camshaft signal setting.
Preferably, at the based target rotating speed and before the cyclic query signal data, method also comprises: based on signal data whether can with the prearranged signal database in data shine upon one by one to judge whether signal data reasonable; In the situation that shine upon successfully the waveform of preview data signal; In the unsuccessful situation of mapping, then re-start the signal parameter configuration.
Preferably, in the situation that the signal data output quantity is digital signal, before generating crankshaft signal and camshaft signal according to the signal data output quantity, method also comprises: digital signal is converted to analogue signal.
Preferably, the rotating speed of target that obtains motor comprises: obtain rotating speed of target according to the rotary speed instruction in the serial data, or obtain rotating speed of target via the magnitude of voltage of inquiry potentiometer.
Preferably, in sending the process of output signal, output signal is carried out output protection, wherein, output signal is carried out output protection comprise and carry out one of following or the arbitrarily protection of a plurality of combinations: overcurrent protection, overvoltage protection and short-circuit protection.
To achieve these goals, according to a further aspect in the invention, a kind of engine crankshaft and cam shaft signal generator are provided.
Comprise according to engine crankshaft of the present invention and camshaft signal signal generator: the first acquisition module is used for obtaining and the bent axle of the engine configurations parameter correlation connection of inputting and the signal data of camshaft; The second acquisition module is for the rotating speed of target that obtains motor; Enquiry module is used for the based target rotating speed and the cyclic query signal data, thereby obtains the signal data output quantity; Output module is used for generating crankshaft signal and camshaft signal according to the signal data output quantity.
Preferably, before the signal data that obtains bent axle and camshaft, signal generator also comprises: configuration module is used for carrying out the engine parameter configuration and generates signal data based on configuration parameter, wherein, signal configures comprises: overall setting, crankshaft signal setting and camshaft signal setting.
Preferably, in the situation that the signal data output quantity is digital signal, before generating crankshaft signal and camshaft signal according to the signal data output quantity, signal generator also comprises: modular converter is used for digital signal is converted to analogue signal.
By the present invention, adopt the bent axle of the engine configurations parameter correlation connection that obtains and input and the signal data of camshaft; Obtain the rotating speed of target of motor; Based target rotating speed and cyclic query signal data, thus the signal data output quantity obtained; Generate engine crankshaft and camshaft signal according to the signal data output quantity, solved that signal generator of engine only produces fixing engine crankshaft and camshaft signal in the correlation technique, the problem that signal generator will lose efficacy when signal source changes, and then reached the versatility that improves signal generator, realize the effect of the situation that signal generator simulated engine bent axle and camshaft signal change.
Beneficial effect of the present invention also comprises: realized carrying out the bent axle of graphical interfaces configuration motor and the signal data parameter of camshaft at upper-position unit.So that the bent axle of motor and camshaft-signal sensor change or signal phase concerns that when changing, only need to carry out easy configuration at the interface just can adapt to the variation that bent axle and camshaft signal occur; Realization is in the situation that the waveform of data query success preview data signal, and this analog waveform is consistent with actual waveform.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the signal generating method of the engine crankshaft of the embodiment of the invention one and camshaft signal;
Fig. 2 is the flow chart according to the signal generating method of the engine crankshaft of the embodiment of the invention two and camshaft signal;
Fig. 3 is the flow chart according to the engine parameter layoutprocedure of the embodiment of the invention one;
Fig. 4 is the flow chart according to the preferred engine parameter layoutprocedure of the embodiment of the invention one;
Fig. 5 is the flow chart according to the preferred engine parameter layoutprocedure of the embodiment of the invention one;
Fig. 6 is the flow chart according to the preferred engine parameter layoutprocedure of the embodiment of the invention one;
Fig. 7 is the preview graph according to engine crankshaft and the camshaft signal of the embodiment of the invention one;
Fig. 8 is the flow chart according to the single-chip microcomputer work of the engine crankshaft of the embodiment of the invention one and camshaft signal;
Fig. 9 is the schematic diagram according to the signal generator system of the engine crankshaft of the embodiment of the invention three and camshaft signal;
Figure 10 is the schematic diagram according to the signal generator system of the engine crankshaft of the embodiment of the invention four and camshaft signal;
Figure 11 is the schematic diagram according to the signal generator system architecture of the engine crankshaft of the embodiment of the invention five and camshaft signal.
Embodiment
Need to prove, in the situation that do not conflict, embodiment and the feature among the embodiment among the application can make up mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
According to embodiments of the invention, provide the signal generating method of a kind of engine crankshaft and camshaft signal.
Fig. 1 is the flow chart according to the signal generating method of the engine crankshaft of the embodiment of the invention one and camshaft signal.
As shown in Figure 1, the method comprises that following step S102 is to step S108:
Step S102 obtains and the bent axle of the engine configurations parameter correlation connection of inputting and the signal data of camshaft;
Step S104 obtains the rotating speed of target of motor;
Step S106, based target rotating speed and cyclic query signal data, thus obtain the signal data output quantity;
Step S108 generates engine crankshaft and camshaft signal according to the signal data output quantity.
The signal generating process of simulated engine bent axle of the present invention and camshaft signal, every configuration parameter of engine crankshaft and camshaft signal is set at graphical interfaces, the bent axle that obtains being correlated with and the signal data of camshaft, and obtain and process the signal data of relevant bent axle and camshaft by single-chip microcomputer, simulation obtains engine signal and sends output signal.The method simply arranges the signal generator of having realized adapting to different engine crankshafts and camshaft signal by graphical interfaces.The signal that this signal generator produces can provide the correlated inputs data for automobile electric control system.
Before the signal data of the bent axle of the engine configurations parameter correlation obtaining and input connection and camshaft, method can also comprise: carry out the engine parameter configuration and generate signal data based on configuration parameter, wherein, the engine parameter configuration comprises: overall setting, crankshaft signal setting and camshaft signal setting.
Wherein, carry out in engine parameter configuration and the step based on configuration parameter generation signal data, adopt the figure configuration interface to carry out the engine parameter configuration, and judge the configuration of every engine parameter whether can with predetermined database in parameter shine upon one by one to judge whether parameter configuration reasonable, if the parameter that arranges can be shone upon in predetermined database, namely can in the correspondence table, inquire corresponding data, can assert that then this setting is rational.
The parameter configuration of motor of the present invention is based on the layoutprocedure of graphical interfaces.In the present embodiment one, the figure configuration interface adopts the application system based on the MATLAB exploitation, has mainly utilized graphic user interface (Graphical User Interface is referred to as GUI) the Development of Graphical Interfaces instrument of MATLAB software.After configuration is finished, can generate the needed bent axle of SCM program and camshaft signal data, and bent axle that can preview sets in MATLAB and the waveform of camshaft signal, this waveform and the signal generator finally actual waveform of generation are consistent.
Fig. 3 is the flow chart according to the engine parameter layoutprocedure of the embodiment of the invention one.
As shown in Figure 3, this figure layoutprocedure need to totally arrange, crankshaft signal setting and camshaft signal arrange three phases.Comprise the steps:
Step S201 totally arranges at upper-position unit.Wherein, the parameter of the overall setting of configuration comprises: cylinder number, ignition order, crankshaft signal number and camshaft signal number.
Step S202 judges at upper-position unit whether the overall supplemental characteristic that arranges is reasonable.If rationally, execution in step S203, otherwise, return step S201, reconfigure overall parameters.
Step S203 carries out the crankshaft signal setting at upper-position unit.Wherein, the parameter of the crankshaft signal setting of configuration comprises: sensor type, signal level, the number of teeth and hypodontia position.
Step S204 judges at upper-position unit whether the supplemental characteristic of crankshaft signal setting is reasonable.If rationally, execution in step S205, otherwise, return step S203, reconfigure the crankshaft signal parameters.
Step S205 carries out the camshaft signal setting at upper-position unit.Wherein, the parameter of the camshaft signal setting of configuration comprises: sensor type, signal level and signal edge.
Step S206 judges at upper-position unit whether the supplemental characteristic of camshaft signal setting is reasonable.If rationally, execution in step S207, otherwise, return step S205, reconfigure the camshaft signal parameters.
Step S207 carries out the signal preview to configuration signal.
After configuration was finished, bent axle that can preview sets in MATLAB and the waveform of camshaft signal, this waveform and the signal generator finally actual waveform of generation were consistent.Be illustrated in figure 7 as the preview graph of engine crankshaft and the camshaft signal of the present embodiment one, wherein to count parameters be 4 cylinders to cylinder.
Step S208 judges at upper-position unit whether this signal waveform is reasonable, if rationally, and execution in step S209 then, otherwise, return step S201, re-start the layoutprocedure of graphical interfaces.
Step S209 finishes the engine parameter layoutprocedure.
Fig. 4 is the flow chart according to the preferred engine parameter layoutprocedure of the embodiment of the invention one.
As shown in Figure 4, the parameter that needs to arrange totally being set comprises: cylinder number, ignition order, crankshaft signal number and camshaft signal number.May further comprise the steps:
At first carry out the cylinder number setting, judge whether cylinder is counted parameters reasonable, arranges in the rational situation at the cylinder number, carries out the ignition order setting, otherwise, re-start cylinder and count setting; Judge whether the ignition order setting is reasonable, arrange in the rational situation at ignition order, March axis signal number arranges, otherwise, re-start the ignition order setting; Judge whether crankshaft signal is counted setting reasonable, arranges in the rational situation at the crankshaft signal number, carries out camshaft signal and count setting, otherwise, re-start crankshaft signal and count setting; Judge whether camshaft signal is counted setting reasonable, arrange to finish in the rational situation at the camshaft signal number layoutprocedure totally is set, otherwise, re-start camshaft signal and count setting.
Fig. 5 is the flow chart according to the preferred engine parameter layoutprocedure of the embodiment of the invention one.
As shown in Figure 5, crankshaft signal arranges needs the parameter of setting to comprise: sensor type, signal level, the number of teeth and hypodontia position.May further comprise the steps:
At first carry out sensor type setting and signal level setting, carry out again number of teeth setting, judge whether number of teeth setting is reasonable, arrange in the rational situation in the number of teeth, carry out the hypodontia position and arrange, otherwise, re-start number of teeth setting; Judge whether the hypodontia position arranges reasonable, arranges in the rational situation in hypodontia, finishes the layoutprocedure that crankshaft signal arranges, otherwise, re-start the hypodontia position and arrange.
Fig. 6 is the flow chart according to the preferred engine parameter layoutprocedure of the embodiment of the invention one.
As shown in Figure 6, camshaft signal arranges needs the parameter of setting to comprise: sensor type, signal level and signal edge.May further comprise the steps:
At first carry out the sensor type setting, carry out again the signal level setting, carry out at last the setting of signal edge, judge whether the setting of signal edge is reasonable, arranges in the rational situation at the signal edge, finish the layoutprocedure that camshaft signal arranges, otherwise, re-start the setting of signal edge.
Fig. 8 is the flow chart according to the single-chip microcomputer work of the engine crankshaft of the embodiment of the invention one and camshaft signal.
In the embodiment of the invention, SCM program adopts bsp driver and the mode that crankshaft cam axis signal data combine, and has mainly utilized real-time working space (Real TimeWorkshop is referred to as RTW) automatic Code Generation.Bsp driver is the program of manually working out, and the user need not revise.RTW can combine crankshaft cam axis signal data and bsp driver automatically, finishes the renewal of SCM program through compiling, link, download.The renewal process of whole SCM program all is that the user need not be concerned about its specific implementation process automatically.
As shown in Figure 8, during this single-chip microcomputer operation, comprise the steps:
Step S301, single-chip microcomputer receives the serial ports instruction.Single-chip microcomputer receives serial ports instruction and the coherent signal data of upper-position unit.
Step S302, single-chip microcomputer internal processes judge output the serial ports instruction.
If receive the serial ports instruction of output, then continue the order of the serial ports instruction of execution in step S303, otherwise, execution in step S304 then.
Step S303, the instruction of SCM program inquiry serial ports.
Single-chip microcomputer is according to the data of relevant communication protocol inquiry serial ports instruction.This serial ports instruction is the engine target rotating speed of setting on the upper-position unit.
Step S304 uses the inquiry potentiometer.
When the serial ports instruction that does not receive upper-position unit, can manually adjust by potentiometer the rotating speed of target of motor.
Step S305, single-chip microcomputer calculates rotating speed of target.Single-chip microcomputer is determined the rotating speed of target of present engine according to the magnitude of voltage of the rotary speed instruction in the serial data or speed-regulating potentiometer.
Wherein, the rotating speed of target that obtains motor can comprise: obtain rotating speed of target according to the rotary speed instruction in the serial data, or obtain rotating speed of target via the magnitude of voltage of inquiry potentiometer.
In the embodiment of the invention one, after obtaining rotating speed of target, single-chip microcomputer based on signal data whether can with the prearranged signal database in data shine upon one by one to judge whether signal data reasonable; In the situation that shine upon successfully the waveform of preview data signal; In the unsuccessful situation of mapping, then re-start the signal parameter configuration.
Step S306, the signal data of single-chip microcomputer internal processes inquiry bent axle and camshaft.Single-chip microcomputer is according to the rotating speed of target inquiry bent axle that calculates gained and the signal data of camshaft, and this signal data is every signal data that upper-position unit arranges, and wherein, single-chip microcomputer obtains the process of process for downloading of signal data.
Step S307, the single-chip microcomputer internal processes calculates output quantity.Single-chip microcomputer is determined the output quantity of current single-chip microcomputer according to the value that inquires.
Step S308, the output data.Wherein, in the situation that the signal data output quantity is digital signal, before generating crankshaft signal and camshaft signal according to the signal data output quantity, method can also comprise: digital signal is converted to analogue signal.
Utilize in the present embodiment analog-digital chip that the numeral output of single-chip microcomputer is converted to voltage analog, output is when the waveform of front crankshaft and camshaft signal.
In embodiments of the present invention; in the process that sends output signal, output signal is carried out output protection; wherein, output signal being carried out output protection can comprise and carry out one of following or the arbitrarily protection of a plurality of combinations: overcurrent protection, overvoltage protection and short-circuit protection.
Need to prove, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the flow chart of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
Fig. 2 is the flow chart according to the signal generating method of the engine crankshaft of the embodiment of the invention two and camshaft signal.
As shown in Figure 2, developed the figure configuration interface in the present embodiment, utilized this figure configuration interface can configure engine crankshaft and the camshaft signal that will generate and generate bent axle and the camshaft signal data.Then utilize automatic Code Generation that crankshaft cam axis signal data and bsp driver are combined and download in the single-chip microcomputer.Single-chip microcomputer is calculated output quantity by inquiry crankshaft cam axis signal data during signal generator work, at last by analog-digital chip output crank shaft and camshaft signal.Core in the whole scheme is single-chip microcomputer.
Fig. 9 is the schematic diagram according to the signal generator system of the engine crankshaft of the embodiment of the invention three and camshaft signal.
As shown in Figure 9, be bent axle and cam shaft signal generator main body in the dotted line frame of the embodiment of the invention three, wherein, the core of system hardware general structure is the S12 single-chip microcomputer, in conjunction with programming module, digital-to-analog conversion (DAC) module and output protection circuit.The upper-position unit computer expert crosses the USB line and is connected to signal generator, finishes the programming process of program.In the using process of system works, can manually adjust engine speed by a knob style potentiometer, also can set the engine target rotating speed at the upper-position unit computer by the mode of SCI serial communication.Single-chip microcomputer calculates accordingly the signal data that can shine upon one by one with rotating speed of target and exports to DAC according to rotating speed of target, DAC converts digital signal to analogue signal, wherein, all signal datas are on upper-position unit, the engine crankshaft that obtains according to the setting of graphical interfaces and the relevant parameter of camshaft signal, resulting bent axle and camshaft data download in the storage of single-chip microcomputer.At last, consider that output signal directly allows the user use, add the output protection of necessity in output place of signal, comprise overcurrent protection, overvoltage protection and short-circuit protection.
Figure 10 is the schematic diagram according to the signal generator system of the engine crankshaft of the embodiment of the invention four and camshaft signal.
As shown in figure 10, this embodiment is based on the single-chip minimum system of S12, mainly comprises power module, external clock module, phase-locked-loop configuration module and DLL (dynamic link library).Power module provides the required electric current of system and voltage; The external clock module provides accurately external clock reference for single-chip microcomputer; The phase-locked-loop configuration module is used for the numerical relation of configuration-system operation frequency and external clock source frequency.In the present embodiment, the S12 single-chip microcomputer can be 16 automobile microcontroller products of Freescale company, the S12 mcu resource is abundant, performance is outstanding, and can realize seamless link between its development environment CodeWarrior and the MATLAB, be the ideal chose of figure configuration bent axle and cam shaft signal generator hardware core.
Figure 11 is the schematic diagram according to the signal generator system architecture of the engine crankshaft of the embodiment of the invention five and camshaft signal.
As shown in figure 11, this signal generator comprises: the first acquisition module 110, the second acquisition module 111, enquiry module 112 and output module 113.
Wherein, the first acquisition module 110 is used for obtaining and the bent axle of the engine configurations parameter correlation connection of inputting and the signal data of camshaft; The second acquisition module 111 is for the rotating speed of target that obtains motor; Enquiry module 112 is used for the based target rotating speed and the cyclic query signal data, thereby obtains the signal data output quantity; Output module 113 is used for generating crankshaft signal and camshaft signal according to the signal data output quantity.
Preferably, before the signal data that obtains bent axle and camshaft, signal generator can also comprise: configuration module 114.
Configuration module 114 is used for carrying out the engine parameter configuration and generates signal data based on configuration parameter, and wherein, signal configures comprises: overall setting, crankshaft signal setting and camshaft signal setting.
Preferably, in the situation that the signal data output quantity is digital signal, before generating crankshaft signal and camshaft signal according to the signal data output quantity, generator can also comprise: modular converter 115.
Modular converter 115 is used for digital signal is converted to analogue signal.
From above description, can find out, the present invention has realized following technique effect: signal generator can not lose efficacy when signal source changes, improved the versatility of signal generator, the setting that relative prior art mainly is bent axle and camshaft signal configures based on graphic interface, and the user can be concerned about the process of concrete mcu programming.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general computing device, they can concentrate on the single computing device, perhaps be distributed on the network that a plurality of computing devices form, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the signal generating method of an engine crankshaft and camshaft signal is characterized in that, comprising:
The bent axle of the engine configurations parameter correlation connection that obtains and input and the signal data of camshaft;
Obtain the rotating speed of target of motor;
Based on described rotating speed of target and the described signal data of cyclic query, thereby obtain the signal data output quantity;
Generate engine crankshaft and camshaft signal according to described signal data output quantity;
Wherein, before the signal data of the bent axle of the engine configurations parameter correlation obtaining and input connection and camshaft, described method also comprises:
Carry out the engine parameter configuration and generate described signal data based on configuration parameter, wherein, described engine parameter configuration comprises:
The overall setting, wherein, the parameter of the described overall setting of configuration comprises: cylinder number, ignition order, crankshaft signal number and camshaft signal number;
Crankshaft signal arranges, and wherein, the parameter of the described crankshaft signal setting of configuration comprises: sensor type, signal level, the number of teeth and hypodontia position;
Camshaft signal arranges, and wherein, the parameter of the described camshaft signal setting of configuration comprises: sensor type, signal level and signal edge;
Wherein, carrying out engine parameter configures and generates based on configuration parameter in the step of described signal data, adopt the figure configuration interface to carry out described engine parameter configuration, and judge every described engine parameter configuration whether can with predetermined database in parameter shine upon one by one to judge whether described parameter configuration reasonable, may further comprise the steps:
Configure described overall setting, judge whether described overall setting is reasonable, totally arrange in the rational situation described, the March axis signal arranges, otherwise, re-start described overall setting;
Judge whether described crankshaft signal setting is reasonable, arrange in the rational situation at described crankshaft signal, carry out the camshaft signal setting, otherwise, re-start described crankshaft signal setting;
Judge whether described camshaft signal setting is reasonable, arrange at described camshaft signal and finish whole signal configures processes in the rational situation, otherwise, re-start described camshaft signal setting.
2. method according to claim 1 is characterized in that, based on described rotating speed of target and before the described signal data of cyclic query, described method also comprises:
Based on described signal data whether can with the prearranged signal database in data shine upon one by one to judge whether described signal data reasonable;
In the situation that shine upon successfully the waveform of the described data-signal of preview;
In the unsuccessful situation of mapping, then re-start described signal parameter configuration.
3. method according to claim 1 is characterized in that, in the situation that described signal data output quantity is digital signal, before generating described crankshaft signal and camshaft signal according to described signal data output quantity, described method also comprises:
Described digital signal is converted to analogue signal.
4. method according to claim 1 is characterized in that, the rotating speed of target that obtains motor comprises:
Obtain described rotating speed of target according to the rotary speed instruction in the serial data, or
Magnitude of voltage via the inquiry potentiometer obtains described rotating speed of target.
5. each described method in 4 according to claim 1; it is characterized in that; in sending the process of described output signal, described output signal is carried out output protection, wherein, described output signal is carried out output protection comprise and carry out one of following or the arbitrarily protection of a plurality of combinations:
Overcurrent protection, overvoltage protection and short-circuit protection.
6. the signal generator of an engine crankshaft and camshaft signal is characterized in that, comprising:
The first acquisition module is used for obtaining and the bent axle of the engine configurations parameter correlation connection of inputting and the signal data of camshaft;
The second acquisition module is for the rotating speed of target that obtains motor;
Enquiry module is used for based on described rotating speed of target and the described signal data of cyclic query, thereby obtains the signal data output quantity;
Output module is used for generating crankshaft signal and camshaft signal according to described signal data output quantity;
Wherein, described signal generator also comprises: configuration module, and be used for carrying out the engine parameter configuration and generate described signal data based on configuration parameter, wherein, described signal configures comprises:
The overall setting, wherein, the parameter of the described overall setting of configuration comprises: cylinder number, ignition order, crankshaft signal number and camshaft signal number;
Crankshaft signal arranges, and wherein, the parameter of the described crankshaft signal setting of configuration comprises: sensor type, signal level, the number of teeth and hypodontia position;
Camshaft signal arranges, and wherein, the parameter of the described camshaft signal setting of configuration comprises: sensor type, signal level and signal edge;
Wherein, described the first acquisition module carries out the engine parameter configuration and generates based on configuration parameter in the step of described signal data, adopt the figure configuration interface to carry out described engine parameter configuration, and judge every described engine parameter configuration whether can with predetermined database in parameter shine upon one by one to judge whether described parameter configuration reasonable, comprising:
The configuration submodule is used for configuring described overall setting, judges whether described overall setting is reasonable, totally arranges in the rational situation described, and the March axis signal arranges, otherwise, re-start described overall setting;
First judges submodule, is used for judging whether described crankshaft signal setting is reasonable, arranges in the rational situation at described crankshaft signal, carries out the camshaft signal setting, otherwise, re-start described crankshaft signal setting;
Second judges submodule, is used for judging whether described camshaft signal setting is reasonable, arrange at described camshaft signal and finish whole signal configures processes in the rational situation, otherwise, re-start described camshaft signal setting.
7. signal generator according to claim 6, it is characterized in that, in the situation that described signal data output quantity is digital signal, before generating described crankshaft signal and camshaft signal according to described signal data output quantity, described signal generator also comprises:
Modular converter is used for described digital signal is converted to analogue signal.
CN 201010112588 2010-02-20 2010-02-20 Crank shaft and cam shaft signal generator of engine and signal generation method Expired - Fee Related CN101793203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010112588 CN101793203B (en) 2010-02-20 2010-02-20 Crank shaft and cam shaft signal generator of engine and signal generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010112588 CN101793203B (en) 2010-02-20 2010-02-20 Crank shaft and cam shaft signal generator of engine and signal generation method

Publications (2)

Publication Number Publication Date
CN101793203A CN101793203A (en) 2010-08-04
CN101793203B true CN101793203B (en) 2013-03-06

Family

ID=42586081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010112588 Expired - Fee Related CN101793203B (en) 2010-02-20 2010-02-20 Crank shaft and cam shaft signal generator of engine and signal generation method

Country Status (1)

Country Link
CN (1) CN101793203B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102540906B (en) * 2012-02-17 2015-10-21 浙江大学 A kind of bent axle and camshaft analog signal generating method
CN103807036B (en) * 2012-11-12 2016-01-20 第一拖拉机股份有限公司 High applicability electronic controlled diesel signal generator software systems
CN103235519B (en) * 2013-04-28 2016-08-03 长城汽车股份有限公司 A kind of engine signal Intelligence Simulation and system
CN109443771B (en) * 2018-10-11 2021-07-13 曾凡荣 Waveform generation method and device, terminal and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2679375Y (en) * 2004-03-05 2005-02-16 温洪清 Automotive electronic electrically controlled injector
CN1971015A (en) * 2005-10-31 2007-05-30 通用汽车环球科技运作公司 Continuous engine reverse rotation detection system
CN101135270A (en) * 2006-08-30 2008-03-05 丰田自动车株式会社 Variable valve timing controller for internal combustion engine
CN101230810A (en) * 2008-01-18 2008-07-30 华夏龙晖(北京)汽车电子科技有限公司 Method for controlling fuel injection by electric control unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8234055B2 (en) * 2008-02-25 2012-07-31 GM Global Technology Operations LLC Engine movement detection systems and methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2679375Y (en) * 2004-03-05 2005-02-16 温洪清 Automotive electronic electrically controlled injector
CN1971015A (en) * 2005-10-31 2007-05-30 通用汽车环球科技运作公司 Continuous engine reverse rotation detection system
CN101135270A (en) * 2006-08-30 2008-03-05 丰田自动车株式会社 Variable valve timing controller for internal combustion engine
CN101230810A (en) * 2008-01-18 2008-07-30 华夏龙晖(北京)汽车电子科技有限公司 Method for controlling fuel injection by electric control unit

Also Published As

Publication number Publication date
CN101793203A (en) 2010-08-04

Similar Documents

Publication Publication Date Title
CN101793203B (en) Crank shaft and cam shaft signal generator of engine and signal generation method
US7478031B2 (en) Method, system and program for developing and scheduling adaptive integrated circuity and corresponding control or configuration information
US9582265B2 (en) Runtime creation, assignment, deployment and updating of arbitrary radio waveform techniques for a radio waveform generation device
CN103645665A (en) Programmable signal generator and signal generation method thereof
AU2005307333B9 (en) Computer method of motor model, motor simulation method, motor simulation apparatus, motor-model computing program, simulation method and simulation program
CN107783464A (en) A kind of multichannel electric steering engine control method
CN107479940A (en) A kind of method and device for realizing Internet of Things module
CN101364086B (en) Real-time emulation control method based on triggering-delay
CN106610906A (en) Data access method and bus
CN102279736A (en) D2P-based RMS motor controller development system
CN106227688A (en) A kind of compatible multimodal target machine software maintenance communication means
WO2013000564A1 (en) Technique for task sequence execution
CN103532457A (en) FOC (field oriented control) device and method based on hardware
CN202841079U (en) Pulse signal generator and pulse signal generation system
CN104765338A (en) General parallel piston engine signal simulator
CN104021464B (en) A kind of model integrated dispatches system
Reyneri A Simulink-based hybrid codesign tool for rapid prototyping of FPGA's in signal processing systems
Halim et al. Exploring software-defined radio on Multi-Processor System-on-Chip
Zhong et al. A RISC-V Based SoC with Configurable CPK Sensor Interface for ECU on Motorcycle
CN209055819U (en) A kind of Vehicular multifunctional signal simulation device
CN110457840A (en) Wind-driven generator controls software architectural method, device and electronic equipment
CN113760809B (en) Configuration method, system and device of GPIO interface and readable storage medium
Zhu et al. Motorast: a low-cost high-performance rapid control prototype platform for electric drives
CN107688336A (en) A kind of microcontroller MPC563 device for testing functions
WO2023284131A9 (en) Pulse modulation control system, apparatus and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hengrun Technology Co.,Ltd.

Address before: 1-2 / F, commercial building, No. 23, anxiangli, Chaoyang District, Beijing 100101

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130306

CF01 Termination of patent right due to non-payment of annual fee