CN109910610B - Combined instrument - Google Patents

Combined instrument Download PDF

Info

Publication number
CN109910610B
CN109910610B CN201910123503.0A CN201910123503A CN109910610B CN 109910610 B CN109910610 B CN 109910610B CN 201910123503 A CN201910123503 A CN 201910123503A CN 109910610 B CN109910610 B CN 109910610B
Authority
CN
China
Prior art keywords
control unit
central control
lamp
image
contour
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.)
Active
Application number
CN201910123503.0A
Other languages
Chinese (zh)
Other versions
CN109910610A (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 Geruien Electronic Instrument Co ltd
Original Assignee
Wuhan Geruien Electronic Instrument 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 Wuhan Geruien Electronic Instrument Co ltd filed Critical Wuhan Geruien Electronic Instrument Co ltd
Priority to CN201910123503.0A priority Critical patent/CN109910610B/en
Publication of CN109910610A publication Critical patent/CN109910610A/en
Application granted granted Critical
Publication of CN109910610B publication Critical patent/CN109910610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Indicating Measured Values (AREA)
  • Instrument Panels (AREA)

Abstract

The invention discloses a combined instrument which comprises a central control unit, a speedometer, a tachometer and a display unit, wherein the speedometer, the tachometer and the display unit are respectively connected with the central control unit; the pointer image extraction module is used for extracting the pointer image. The method can effectively improve the overall brightness of the image, improve the accuracy of pointer identification, enhance the stability and have good algorithm robustness.

Description

Combined instrument
Technical Field
The invention relates to the technical field of instruments and equipment, in particular to a combined instrument.
Background
With the development of the automobile industry, the data reading technology of instruments and meters is also rapidly developed, and the conventional instrument data reading technology has the problem of difficult pointer scale identification. For example, chinese patent publication No. CN104469166B discloses an image acquisition control apparatus and method, in actual instrument image acquisition, the apparatus drives an image acquisition device located at the end of a fixed support to change the acquisition position by controlling the movement of the fixed support, so that one image acquisition device is used to sequentially acquire instrument images of a plurality of instruments, thereby reducing the image acquisition cost.
The image acquisition control device comprises an image acquisition control device, a servo power mechanism, an RAM (random access memory) processor, a fixing support, an ARM (advanced RISC machine) and DSP (digital signal processor), wherein the DSP controls the image acquisition device to acquire images, the RAM processor is used for realizing man-machine interaction, and the servo power mechanism is controlled to adjust the motion track of the fixing support, so that the acquisition position of the image acquisition device is adjusted. However, in the process of acquiring the image, the scheme is easily interfered by light rays, image noise is generated, the accuracy of the extracted image is poor, and the stability is low.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides the combination instrument which can effectively improve the overall brightness of the image, improve the accuracy and stability of pointer identification, extract the pointer image more accurately and has good algorithm robustness.
The purpose of the invention is realized by the following technical scheme:
a combination instrument comprises a central control unit, a speedometer, a tachometer and a display unit, wherein the speedometer, the tachometer and the display unit are respectively connected with the central control unit; the device also comprises a pointer image extraction module, wherein the pointer image extraction module is used for executing the following processes:
s1: carrying out graying processing on the acquired original image of the dial area, processing the acquired original image of the dial area by using a background difference method, and then recalculating the gray value by adopting the following function based on gamma conversion:
s=c(r+)γ
wherein S is the gray value of the output image, is the adjusted gray overall offset, r represents the gray value of the input pixel, gamma represents, and c is a normalization constant; then, carrying out binarization processing on the gray level image obtained after recalculation so as to obtain a binarized image;
s2: extracting the contour of the binarized image obtained in the step S1 based on a contour tracing algorithm, and searching the contour with the longest length in all the contours as a crude extraction contour M1 after obtaining the contour;
s3: fitting the straight line in the step S2, superposing the straight line obtained after fitting with the crude extraction contour M1, applying the same contour tracking algorithm as that in the step S2 again to the superposed image, and searching the contour with the longest length in all the contours as a fine extraction contour M2, wherein M2 is less than M1;
s4: extracting the binary image of the connected domain corresponding to the contour M3 in the step S3, then thinning the binary image of the connected domain corresponding to M3 by adopting a thinning algorithm, and fitting by adopting a least square fitting algorithm to obtain a fitted image;
s5: the image data finally fitted in step S4 is output to the display unit.
Further, including motor temperature alarm lamp, system ready lamp, system trouble lamp and power battery trouble lamp, motor temperature alarm lamp is connected with central control unit, system ready lamp is connected with central control unit, system trouble lamp is connected with central control unit, power battery trouble lamp is connected with central control unit.
The vehicle-mounted intelligent parking device further comprises a reverse gear lamp, a neutral gear lamp and a forward gear lamp, wherein the reverse gear lamp is connected with the central control unit, the neutral gear lamp is connected with the central control unit, and the forward gear lamp is connected with the central control unit.
Further, including charging plug lamp, electric quantity alarm lamp, controller temperature alarm lamp, DC fault indicator lamp and EPS alarm lamp, charging plug lamp is connected with central control unit, the electric quantity alarm lamp is connected with central control unit, controller temperature alarm lamp is connected with central control unit, DC fault indicator lamp is connected with central control unit, the EPS alarm lamp is connected with central control unit.
Further, including parking braking lamp, safety belt pilot lamp, braking malfunction alerting lamp and vacuum warning pilot lamp, parking braking lamp is connected with central control unit, the safety belt pilot lamp is connected with central control unit, braking malfunction alerting lamp is connected with central control unit, vacuum warning pilot lamp is connected with central control unit.
Further, report to the police including high beam pilot lamp, passing beam pilot lamp, door opening lamp, high beam pilot lamp is connected with central control unit, passing beam pilot lamp is connected with central control unit, the warning is connected with central control unit to the door opening lamp.
Further, including touch screen button, adjustment button, communication CANL bus, communication CANH bus and speed signal input interface, the touch screen button is connected with central control unit, adjustment button is connected with central control unit, communication CANL bus is connected with central control unit, communication CANH bus is connected with central control unit, speed signal input interface is connected with central control unit.
Further, the display unit includes an LCD display.
The invention has the beneficial effects that:
(1) the method can effectively improve the overall brightness of the image, improve the accuracy and stability of pointer identification, has good algorithm robustness, and solves the difficult problem that the dial plate pointer image of the automobile instrument is not clear in extraction.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of a dial plate structure of an instrument according to a first embodiment of the present invention.
Fig. 2 is an electrical schematic diagram of a first embodiment of the present invention.
Detailed Description
The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings, but the scope of the present invention is not limited to the following. All of the features disclosed in this specification, or all of the steps of a method or process so disclosed, may be combined in any combination, except combinations where mutually exclusive features and/or steps are used.
Any feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.
Specific embodiments of the present invention will be described in detail below, and it should be noted that the embodiments described herein are only for illustration and are not intended to limit the present invention. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that: it is not necessary to employ these specific details to practice the present invention. In other instances, well-known circuits, software, or methods have not been described in detail so as not to obscure the present invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Before describing the embodiments, some necessary terms need to be explained. For example:
if the terms "first," "second," etc. are used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. Thus, a "first" element discussed below could also be termed a "second" element without departing from the teachings of the present invention. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present.
The various terms appearing in this application are used for the purpose of describing particular embodiments only and are not intended as limitations of the invention, with the singular being intended to include the plural unless the context clearly dictates otherwise.
When the terms "comprises" and/or "comprising" are used in this specification, these terms are intended to specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence and/or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
As shown in fig. 1 and 2, the combination meter comprises a central control unit, a speedometer, a tachometer and a display unit, wherein the speedometer, the tachometer and the display unit are respectively connected with the central control unit; the device also comprises a pointer image extraction module, wherein the pointer image extraction module is used for executing the following processes:
s1: carrying out graying processing on the acquired original image of the dial area, processing the acquired original image of the dial area by using a background difference method, and then recalculating the gray value by adopting the following function based on gamma conversion:
s=c(r+)γ
wherein S is the gray value of the output image, is the adjusted gray overall offset, r represents the gray value of the input pixel, gamma represents, and c is a normalization constant; then, carrying out binarization processing on the gray level image obtained after recalculation so as to obtain a binarized image;
s2: extracting the contour of the binarized image obtained in the step S1 based on a contour tracing algorithm, and searching the contour with the longest length in all the contours as a crude extraction contour M1 after obtaining the contour;
s3: fitting the straight line in the step S2, superposing the straight line obtained after fitting with the crude extraction contour M1, applying the same contour tracking algorithm as that in the step S2 again to the superposed image, and searching the contour with the longest length in all the contours as a fine extraction contour M2, wherein M2 is less than M1;
s4: extracting the binary image of the connected domain corresponding to the contour M3 in the step S3, then thinning the binary image of the connected domain corresponding to M3 by adopting a thinning algorithm, and fitting by adopting a least square fitting algorithm to obtain a fitted image;
s5: the image data finally fitted in step S4 is output to the display unit.
Optionally, including motor temperature alarm lamp, system ready lamp, system trouble lamp and power battery trouble lamp, motor temperature alarm lamp is connected with central control unit, system ready lamp is connected with central control unit, system trouble lamp is connected with central control unit, power battery trouble lamp is connected with central control unit.
Optionally, the vehicle-mounted display device comprises a reverse gear lamp, a neutral gear lamp and a forward gear lamp, wherein the reverse gear lamp is connected with the central control unit, the neutral gear lamp is connected with the central control unit, and the forward gear lamp is connected with the central control unit.
Optionally, the intelligent charging system comprises a charging plug lamp, an electric quantity alarm lamp, a controller temperature alarm lamp, a DC fault indicator lamp and an EPS alarm lamp, wherein the charging plug lamp is connected with the central control unit, the electric quantity alarm lamp is connected with the central control unit, the controller temperature alarm lamp is connected with the central control unit, the DC fault indicator lamp is connected with the central control unit, and the EPS alarm lamp is connected with the central control unit.
Optionally, including parking brake lamp, safety belt pilot lamp, braking malfunction alerting lamp and vacuum warning pilot lamp, parking brake lamp is connected with central control unit, the safety belt pilot lamp is connected with central control unit, braking malfunction alerting lamp is connected with central control unit, vacuum warning pilot lamp is connected with central control unit.
Optionally, the alarm device comprises a high beam indicator light, a low beam indicator light and a door opening light alarm, wherein the high beam indicator light is connected with the central control unit, the low beam indicator light is connected with the central control unit, and the door opening light alarm is connected with the central control unit.
Optionally, including touch screen button, adjustment button, communication CANL bus, communication CANH bus and speed signal input interface, the touch screen button is connected with central control unit, adjustment button is connected with central control unit, communication CANL bus is connected with central control unit, communication CANH bus is connected with central control unit, speed signal input interface is connected with central control unit.
Optionally, the display unit comprises an LCD display.
Example one
As shown in fig. 1, a combination meter comprises a central control unit, a speedometer, a tachometer and a display unit, wherein the speedometer, the tachometer and the display unit are respectively connected with the central control unit; the device also comprises a pointer image extraction module, wherein the pointer image extraction module is used for executing the following processes:
s1: carrying out graying processing on the acquired original image of the dial area, processing the acquired original image of the dial area by using a background difference method, and then recalculating the gray value by adopting the following function based on gamma conversion:
s=c(r+)γ
wherein S is the gray value of the output image, is the adjusted gray overall offset, r represents the gray value of the input pixel, gamma represents, and c is a normalization constant; then, carrying out binarization processing on the gray level image obtained after recalculation so as to obtain a binarized image;
s2: extracting the contour of the binarized image obtained in the step S1 based on a contour tracing algorithm, and searching the contour with the longest length in all the contours as a crude extraction contour M1 after obtaining the contour;
s3: fitting the straight line in the step S2, superposing the straight line obtained after fitting with the crude extraction contour M1, applying the same contour tracking algorithm as that in the step S2 again to the superposed image, and searching the contour with the longest length in all the contours as a fine extraction contour M2, wherein M2 is less than M1;
s4: extracting the binary image of the connected domain corresponding to the contour M3 in the step S3, then thinning the binary image of the connected domain corresponding to M3 by adopting a thinning algorithm, and fitting by adopting a least square fitting algorithm to obtain a fitted image;
s5: the image data finally fitted in step S4 is output to the display unit.
In other technical features of the embodiment, those skilled in the art can flexibly select and use the features according to actual situations to meet different specific actual requirements. However, it will be apparent to one of ordinary skill in the art that: it is not necessary to employ these specific details to practice the present invention. In other instances, well-known algorithms, methods or systems have not been described in detail so as not to obscure the present invention, and are within the scope of the present invention as defined by the claims.
For simplicity of explanation, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and elements referred to are not necessarily required in this application.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The disclosed systems, modules, and methods may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be referred to as an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It will be understood by those skilled in the art that all or part of the processes in the methods for implementing the embodiments described above can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a ROM, a RAM, etc.
The foregoing is illustrative of the preferred embodiments of this invention, and it is to be understood that the invention is not limited to the precise form disclosed herein and that various other combinations, modifications, and environments may be resorted to, falling within the scope of the concept as disclosed herein, either as described above or as apparent to those skilled in the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. The combination instrument is characterized by comprising a central control unit, a speedometer, a tachometer and a display unit, wherein the speedometer, the tachometer and the display unit are respectively connected with the central control unit; the device also comprises a pointer image extraction module, wherein the pointer image extraction module is used for executing the following processes:
s1: carrying out graying processing on the acquired original image of the dial area, processing the acquired original image of the dial area by using a background difference method, and then recalculating the gray value by adopting the following function based on gamma conversion:
s=c(r+)γ
wherein S is the gray value of the output image, is the adjusted gray overall offset, r represents the gray value of the input pixel, and c is a normalization constant; then, carrying out binarization processing on the gray level image obtained after recalculation so as to obtain a binarized image;
s2: extracting the contour of the binarized image obtained in the step S1 based on a contour tracing algorithm, and searching the contour with the longest length in all the contours as a crude extraction contour M1 after obtaining the contour;
s3: fitting the straight line in the step S2, superposing the straight line obtained after fitting with the crude extraction contour M1, applying the same contour tracking algorithm as that in the step S2 again to the superposed image, and searching the contour with the longest length in all the contours as a fine extraction contour M2, wherein M2 is less than M1;
s4: extracting the binary image of the connected domain corresponding to the contour M3 in the step S3, then thinning the binary image of the connected domain corresponding to M3 by adopting a thinning algorithm, and fitting by adopting a least square fitting algorithm to obtain a fitted image;
s5: the image data finally fitted in step S4 is output to the display unit.
2. The combination meter according to claim 1, characterized by comprising a motor temperature warning lamp, a system ready lamp, a system fault lamp and a power battery fault lamp, wherein the motor temperature warning lamp is connected with the central control unit, the system ready lamp is connected with the central control unit, the system fault lamp is connected with the central control unit, and the power battery fault lamp is connected with the central control unit.
3. The combination meter of claim 1, comprising a reverse light connected to the central control unit, a neutral light connected to the central control unit, and a drive light connected to the central control unit.
4. The combination meter according to claim 1, characterized by comprising a charging plug lamp, a power alarm lamp, a controller temperature alarm lamp, a DC fault indicator lamp and an EPS alarm lamp, wherein the charging plug lamp is connected with the central control unit, the power alarm lamp is connected with the central control unit, the controller temperature alarm lamp is connected with the central control unit, the DC fault indicator lamp is connected with the central control unit, and the EPS alarm lamp is connected with the central control unit.
5. The combination meter according to claim 1, characterized in that it comprises a parking brake lamp, a seat belt indicator lamp, a brake failure warning lamp and a vacuum warning indicator lamp, wherein the parking brake lamp is connected with the central control unit, the seat belt indicator lamp is connected with the central control unit, the brake failure warning lamp is connected with the central control unit, and the vacuum warning indicator lamp is connected with the central control unit.
6. Combination gauge according to claim 1, characterized in that it comprises a high beam light, a low beam light, a door opening light alarm, the high beam light being connected to the central control unit, the low beam light being connected to the central control unit, the door opening light alarm being connected to the central control unit.
7. The combination meter according to claim 1, characterized by comprising a touch screen button, an adjusting button, a communication CANL bus, a communication CANH bus and a vehicle speed signal input interface, wherein the touch screen button is connected with the central control unit, the adjusting button is connected with the central control unit, the communication CANL bus is connected with the central control unit, the communication CANH bus is connected with the central control unit, and the vehicle speed signal input interface is connected with the central control unit.
8. A combination according to any of claims 1 to 7, wherein the display unit comprises an LCD display.
CN201910123503.0A 2019-02-18 2019-02-18 Combined instrument Active CN109910610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910123503.0A CN109910610B (en) 2019-02-18 2019-02-18 Combined instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910123503.0A CN109910610B (en) 2019-02-18 2019-02-18 Combined instrument

Publications (2)

Publication Number Publication Date
CN109910610A CN109910610A (en) 2019-06-21
CN109910610B true CN109910610B (en) 2020-09-29

Family

ID=66961803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910123503.0A Active CN109910610B (en) 2019-02-18 2019-02-18 Combined instrument

Country Status (1)

Country Link
CN (1) CN109910610B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4401231C2 (en) * 1994-01-18 1999-09-02 Valeo Borg Instr Verw Gmbh Hybrid display instrument, in particular for a motor vehicle dashboard
JP5135990B2 (en) * 2006-11-27 2013-02-06 株式会社デンソー Vehicle display device
DE102008044521A1 (en) * 2008-08-08 2010-02-25 Toshiba Electronics Europe Gmbh Method and device for generating image information
CN102176228B (en) * 2011-01-28 2013-02-06 河海大学常州校区 Machine vision method for identifying dial plate information of multi-pointer instrument
CN102609712B (en) * 2012-02-24 2014-07-09 山东鲁能智能技术有限公司 Reading method of round-like pointer instrument used for mobile robot
CN103528617B (en) * 2013-09-27 2016-08-10 中国人民解放军空军工程大学 A kind of cockpit instrument identifies and detection method and device automatically

Also Published As

Publication number Publication date
CN109910610A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN104246516B (en) A kind of method and device for determining vehicle acceleration
CN112655200B (en) Signal sending method and device
CN110103976A (en) Road gradient calculation method and device
CN114646381B (en) Rotary mechanical vibration measuring method, system, equipment and storage medium
CN116338608B (en) Method, device, equipment and storage medium for adjusting detection angle of microwave radar
CN108924461B (en) Video image processing method and device
CN109910610B (en) Combined instrument
CN104021662A (en) Apparatus, system and method for acquiring automobile running states based on automobile bus technology
CN109866617B (en) Electric automobile combination meter
CN111709665B (en) Vehicle safety assessment method and device
CN112150447A (en) Abnormal data determination method and device based on location-based service and electronic equipment
CN110506301A (en) Equipment, server and the method shared for vehicle
CN114550466B (en) Parking space state detection method and device and electronic equipment
CN113516798A (en) Meter-adjusting vehicle judgment method and device
CN105427331A (en) Measurement method and measurement device of digital pathological section
CN113418455B (en) Roadbed displacement monitoring method and device based on image vision
CN112634489B (en) Vehicle state determination method, device and system based on mobile terminal
CN114359386A (en) Point cloud data processing method, processing device, storage medium and processor
CN114136356A (en) Parameter acquisition test system, method, device and computer readable storage medium
CN114137527A (en) Vehicle early warning method, device, equipment and storage medium
US20200204955A1 (en) Map generation device, map generation system, map generation method, and map generation program
CN112834775A (en) Vehicle speed prediction method and device, electronic equipment and storage medium
CN108020241B (en) Fault testing method and system for photoelectric theodolite
CN112874528A (en) Vehicle speed determination method, vehicle speed determination device, vehicle-mounted terminal and storage medium
CN112903316B (en) Detection method, detection device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant