Summary of the invention
Fundamental purpose of the present utility model is to provide a kind of stepper motor automobile combination meter, its pointer operates steadily, continuously and indication accurately.
In order to achieve the above object, the utility model provides a kind of stepper motor automobile combination meter, and it comprises microprocessor, stepper motor driving circuit, stepper motor and indicating instrument, wherein,
Described microprocessor is electrically connected with described stepper motor driving circuit, is used to gather the signal of the vehicle that needs indication, and sends corresponding electric pulse according to this signal to described stepper motor driving circuit;
Described stepper motor driving circuit is electrically connected with described stepper motor, is used for driving described stepper motor rotates setting by the mode of setting angle according to described electric pulse;
Described stepper motor drives the corresponding rotation of pointer of described indicating instrument.
Preferably, described stepper motor driving circuit is a subdivision driver.
Preferably, described microprocessor comprises time control unit and processing unit;
Described time control unit is electrically connected with described processing unit, be used for every a schedule time to described processing unit sending controling instruction;
Described processing unit is electrically connected with described stepper motor driving circuit, when the steering order of receiving from described time control unit, and the signal of the need indication of collection vehicle, and send corresponding electric pulse to described stepper motor driving circuit according to this signal.
Preferably, stepper motor automobile combination meter described in the utility model also comprises liquid crystal driver and liquid crystal display, and described liquid crystal driver is electrically connected with described processor and described liquid crystal display respectively.
Preferably, described microprocessor comprises processing unit and clock circuit, and described clock circuit is electrically connected with described processing unit, and described processing unit is electrically connected with described stepper motor driving circuit.
Preferably, stepper motor automobile combination meter described in the utility model also comprises universal asynchronous serial interface and hummer, and described universal asynchronous serial interface is electrically connected with a described microprocessor and a PC respectively, and described hummer and described microprocessor are electrically connected; Described microprocessor is connected with described PC by described universal asynchronous serial interface, internal data is configured, described processor is judged input signal according to configuration information, if described input signal is controlled described buzzer warning when satisfying alert if.
Preferably, stepper motor automobile combination meter described in the utility model also comprises the signal indicating member, and described signal indicating member is connected with described microprocessor.
Compared with prior art, stepper motor automobile combination meter described in the utility model adopts stepper motor to drive the pointer of instrument, and adopted subdivision driver as stepper motor driver, make that the pointer of stepper motor automobile combination meter described in the utility model operates steadily, continuously, indication accurately, the indication response time is short and running noises is low.
Embodiment
The utility model does not adopt traditional mechanical type or moving magnetic filed to drive the indicating mode of gauge pointer, and has been to use the type of drive of stepper motor as gauge pointer.
Stepper motor automobile combination meter described in the utility model, gather travel speed, engine speed, battery voltage, engine oil pressure, engine coolant temperature, fuel oil, air pressure signal and the switching value signal of automobile, after the process microprocessor is handled, send corresponding electric pulse to stepper motor driver, described stepper motor driver rotates by the direction of setting according to this electric pulse drive stepping motor, thereby stepper motor drives the also corresponding rotation of pointer of indicating instrument.
As shown in Figure 1, stepper motor automobile combination meter described in the utility model comprises microprocessor 11, stepper motor driving circuit 12, stepper motor 13 and indicating instrument 14,
Described microprocessor 11 is electrically connected with described stepper motor driving circuit 12, is used to gather the signal of the vehicle that needs indication, and sends corresponding electric pulse according to this signal to described stepper motor driving circuit 12;
Described stepper motor driving circuit 12 is electrically connected with described stepper motor 13, is used for driving described stepper motor rotates setting by the mode of setting angle according to described electric pulse;
Described stepper motor 13 drives the corresponding rotation of pointer of described indicating instrument 14.
According to a kind of embodiment, described stepper motor driving circuit 12 is a subdivision driver, has adopted the micro-stepping driving of stepping motor technology;
Be a kind of electronic damping technology on the micro-stepping driving of stepping motor technical spirit, its fundamental purpose is to improve the running accuracy of stepper motor, realizes the high-precision fine of stepper motor step angle; Secondly, the attach feature of micro-stepping driving of stepping motor technology is the low-frequency vibration that weakens or eliminate stepper motor; Low-frequency vibration is the inherent characteristic of stepper motor, and segmentation is an optimal path of eliminating it.
The micro-stepping driving of stepping motor technology is produced by the phase current of accurately controlling motor by stepper motor driver, and is irrelevant with stepper motor.
After having adopted the subdivision driver drive stepping motor, the step angle of stepper motor has diminished.For example, when if stepper motor driver is operated in 12 finely divided states, its step angle only be " the intrinsic step angle of stepper motor " 1/12nd, just: when stepper motor driver is operated in the synchronizing state that does not have segmentation, every electric pulse of microprocessor, stepper motor rotate 12 degree; And use when being operated in the subdivision driver of 12 finely divided states, stepper motor only can rotate 1 degree.
According to another kind of embodiment, described microprocessor 11 comprises time control unit and processing unit;
Described time control unit is electrically connected with described processing unit, be used for every a schedule time to described processing unit sending controling instruction;
Described processing unit, be electrically connected with described stepper motor driving circuit 12, when the steering order of receiving from described time control unit, the signal of the need indication of collection vehicle, and send corresponding electric pulse to described stepper motor driving circuit 12 according to this signal.
Owing to adopted the time of 111 pairs of stepper drive of described time control unit to control, therefore can further improve the response speed of stepper motor and rotate continuity, reduced simultaneously the rotational noise of stepper motor significantly, make that the pointer of stepper motor automobile combination meter described in the utility model operates steadily, continuously, indication accurately, the indication response time is short and running noises is low.
As shown in Figure 2, the dial plate synoptic diagram of the described stepper motor automobile combination meter of the utility model one embodiment; As shown in Figure 3, the structured flowchart of the automatically controlled part of the described stepper motor automobile combination meter of the utility model one embodiment;
As shown in Figure 4, the main program block diagram of the system control program of the described stepper motor automobile combination meter of the utility model one embodiment; As shown in Figure 5, the interrupt routine block diagram of the system control program of the described stepper motor automobile combination meter of the utility model one embodiment; The system control program of the described stepper motor automobile combination meter of the utility model one embodiment comprises master routine and interrupt routine, and described master routine mainly is responsible for total system is carried out initialization, the semaphore that collects carried out the output and the administrative alert operation of computing and processing, control information; Described interrupt routine mainly is responsible for the segmentation driven management of control step motor.
As shown in Figure 2, comprise Battery Voltage Meter 1, oil manometer 2, engine coolant temperature gauge 3, meter key 4, fuel gauge 5, rain glass 6, rain glass 7, LCDs 8, speedometer 9, signal indicating gauge 10, engine speed table 101 and LCDs 102 on the dial plate of the described stepper motor automobile combination meter of the utility model one embodiment.
As shown in Figure 3, the electric control part branch of the described stepper motor automobile combination meter of the utility model one embodiment comprises microprocessor, stepper motor driver, stepper motor, liquid crystal display drive circuit, LCDs, universal asynchronous serial interface UART, hummer and signal indicating member;
Wherein, described stepper motor driver is two, and described stepper motor is 8, and each stepper motor drives four stepper motors respectively;
Described liquid crystal display drive circuit is two, and described LCDs is two, and each liquid crystal display drive circuit is electrically connected with a LCDs respectively, to drive this LCDs; Described liquid crystal display drive circuit is electrically connected with described microprocessor respectively;
Described microprocessor, model are PIC18F452, and it gathers simulating signal, digital signal and the switching value signal of input, and wherein, described simulating signal comprises battery voltage, engine oil pressure, engine coolant temperature, oil mass and air pressure signal; Described digital signal comprises the rotating speed and the Vehicle Speed signal of engine; Described switching value signal is the input quantity of some signals that need show by described signal indicating member;
Described microprocessor obtains the travel speed of current vehicle and the related data of accumulative total distance travelled by gathering and handle the rate signal of vehicle; Described microprocessor is stored in the accumulative mileage of vehicle earlier in the storer of described microprocessor internal, is shown to then on the corresponding LCDs; Described microprocessor is converted to electric pulse with current vehicle speed signal, and this electric pulse is sent to described stepper motor driver, described stepper motor driver is according to the stepper motor of the pointer of the described speedometer 9 of this electric pulse driving drive, and the pointer that makes this stepper motor drive described speedometer 9 runs to the indicating positions of appointment according to the predefined method of operation;
Described microprocessor acquisition engine tach signal, calculate and handle the current engine speed information that obtains, and be converted into corresponding electric pulse, and this electric pulse is sent to described stepper motor driver, described stepper motor driver makes this stepper motor drive described engine speed table 101 runs to appointment according to the predefined method of operation indicating positions according to the stepper motor of the pointer of the described engine speed table 101 of this electric pulse driving drive;
The information that described microprocessor obtains current battery voltage, engine oil pressure, engine coolant temperature, oil mass and two-way air pressure by collection and processing to simulating signal, and each information translation become to be sent to the electric pulse of described stepper motor driver, control each stepper motor and run to correspondence position according to predefined mode;
Described microprocessor comprises processing unit and clock circuit, described processing unit reads the current time of described clock circuit record, and the described current time is converted to control signal corresponding, described control signal is sent to described liquid crystal driver, described liquid crystal driver drives described LCDs according to this control signal, makes the described current time be shown on the described LCDs.
Described signal indicating member is connected with described microprocessor, comprises a plurality of light emitting diodes, is used to indicate the semaphore of automobile relevant information; Described microprocessor also is responsible for gathering the part input of described signal indicating member, and the relevant output of control.
Described microprocessor is electrically connected with described hummer, and described microprocessor can be connected with PC by universal asynchronous serial interface UART, by special software internal data is configured, described microprocessor can be judged input signal according to configuration information, if described input signal will be controlled buzzer warning when satisfying alert if.
More than explanation is just illustrative for the utility model; and it is nonrestrictive; those of ordinary skills understand; under the situation of the spirit and scope that do not break away from claims and limited; can make many modifications; change or equivalence, but all will fall in the protection domain of the present utility model.