CN112061045A - Switch control device and method and automobile - Google Patents
Switch control device and method and automobile Download PDFInfo
- Publication number
- CN112061045A CN112061045A CN202010876562.8A CN202010876562A CN112061045A CN 112061045 A CN112061045 A CN 112061045A CN 202010876562 A CN202010876562 A CN 202010876562A CN 112061045 A CN112061045 A CN 112061045A
- Authority
- CN
- China
- Prior art keywords
- switch
- information
- controller
- bus
- switch control
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 9
- 238000012545 processing Methods 0.000 claims description 10
- 239000002699 waste material Substances 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/005—Electro-mechanical devices, e.g. switched
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
Abstract
The invention discloses a switch control device, a switch control method and an automobile, wherein the switch control device comprises a switch interface, a bus and a plurality of controllers; the switch interface is communicated with the controllers through the bus; the switch interface is used for acquiring information of a plurality of switches; and transmitting the information to the corresponding controller through the bus; the controller sends an instruction to the corresponding device based on the received information. Communicating a switch interface capable of collecting a plurality of switch information with a plurality of controllers through a bus and transmitting the information to the controllers correspondingly; sending, by the controller, an instruction to a respective device based on the received information; thereby the man-machine interface is more centralized; the vehicle-mounted controller is easier to realize generalization and platformization; the wiring harness arrangement difficulty and the weight of the vehicle body wiring harness are reduced; meanwhile, the controller is conveniently and reasonably configured, and the redundant waste of the CPU resource of the controller is reduced.
Description
Technical Field
The invention relates to the technical field of vehicle-mounted control switches, in particular to a switch control device, a switch control method and an automobile.
Background
With the development of the automobile industry, in order to increase the luxury feeling in the automobile and facilitate users to better control the automobile, more human-computer interfaces, such as a window switch or a steering wheel switch or a CSD, are added in the cabin, are independent and distributed, and are directly connected to an in-automobile controller through a hard wire or a Lin or CAN bus. Due to the fact that the number of the wire harnesses is increased, the arrangement of the wire harnesses in the automobile is complicated, and meanwhile, the number of sampling interfaces of the controller in the automobile is increased, so that more connectors are required to meet the requirement.
In order to adapt to more human-computer sampling interfaces, the CPU of the in-vehicle controller needs higher operation speed and larger RAM (random access memory), so that the configuration of the controller has to be improved, and the redundant waste of the CPU resource of the controller is seriously caused. In the case of a window operating switch, if the window operating switch is a digital switch, as many as 21 PINs are required, part of the resources of the controller are used for simple digital sampling and anti-jitter, and the part of the resources increases the bug probability of the controller and the load rate of the controller to some extent. Meanwhile, due to the increase of the man-machine interface, the controller in the vehicle cannot be generalized and platformized better.
Disclosure of Invention
In order to solve the technical problems in the background art, the invention provides a switch control device which collects information of a plurality of switches through a switch interface and transmits the information to a corresponding controller through a bus.
The invention is realized by the following technical scheme:
a switch control device comprises a switch interface, a bus and a plurality of controllers; the switch interface is communicated with the controllers through the bus; the switch interface is used for acquiring information of a plurality of switches; and transmitting the information to the corresponding controller through the bus; the controller sends an instruction to the corresponding device based on the received information.
Further, the bus is a CAN, FR, LIN or ETHERNET bus.
Further, the switch includes a sensor and/or a bus switch.
Furthermore, the switch control device further comprises a signal processing device, and the signal processing device is used for receiving the information instruction from the switch interface, converting the information into the state information and then sending the state information to the corresponding controller.
Further, the information includes on/off instruction information of the switch.
Further, when the switch is the digital switch, the digital switch control circuit further comprises a digital switch control circuit, and the digital switch control circuit comprises a first identity identification circuit for acquiring the first identity information; the first identity recognition circuit is used for acquiring the type and the address of the digital switch.
Further, when the switch is the analog switch, the analog switch control circuit is further included, and the analog switch control circuit includes a second identity recognition circuit for acquiring the second identity information; the second identification circuit is used for acquiring the type and the address of the analog switch.
Further, the switch interface has programmability.
The invention also discloses a switch control method, which comprises the following steps: acquiring information of a plurality of switches; transmitting the information to the controller accordingly; receiving the information; and sending an instruction to the corresponding equipment based on the received information.
The invention also discloses an automobile comprising the switch control device in any scheme.
By adopting the technical scheme, the switch control device and the automobile provided by the invention have the following beneficial effects: communicating a switch interface capable of collecting a plurality of switch information with a plurality of controllers through a bus and transmitting the information to the controllers correspondingly; sending, by the controller, an instruction to a respective device based on the received information; thereby the man-machine interface is more centralized; the vehicle-mounted controller is easier to realize generalization and platformization; the wiring harness arrangement difficulty and the weight of the vehicle body wiring harness are reduced; meanwhile, the controller is conveniently and reasonably configured, and the redundant waste of the CPU resource of the controller is reduced.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive labor.
Fig. 1 is a schematic diagram of a switch control device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a control circuit when the switch is a digital switch according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a control circuit when the switch is an analog switch according to an embodiment of the present invention;
fig. 4 is a flowchart of a switch control method according to an embodiment of the present invention.
In the figure: 1-switch interface, 2-bus, 3-controller, 100-switch.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
Reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic may be included in at least one implementation of the invention. In the description of the present invention, it is to be understood that the terms "upper", "lower", "top", "bottom", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are only for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
As shown in fig. 1, a switch control apparatus according to an embodiment of the present invention includes a switch interface 1, a bus 2, and a plurality of controllers 3; the switch interface 1 is communicated with a plurality of controllers 3 through the bus 2; the switch interface 1 is used for collecting information of a plurality of switches 100; and transmits said information to said controller 3 via said bus 2; the controller 3 sends an instruction to the corresponding device based on the received information. The corresponding device may be a door, a window, a wiper, etc.
In the embodiment of the invention, a switch interface 1 capable of collecting information of a plurality of switches 100 is communicated with a plurality of controllers 3 through a bus 2 and transmits the information to the controllers 3 correspondingly; sending, by the controller 3, an instruction to a corresponding device, such as a door, a window, a wiper, etc., based on the received information, so as to control the start, the close, the gear, etc., of the door, the window, the wiper, etc., thereby making a human-machine interface more centralized; the controller 3 is easier to realize generalization and platform; the wiring harness arrangement difficulty and the weight of the vehicle body wiring harness are reduced; meanwhile, the controller 3 is more reasonably configured, and the redundant waste of CPU resources in the controller 3 is reduced.
In another embodiment of the invention, as shown in fig. 1, the bus may be a CAN, FR, LIN or ETHERNET bus in order to facilitate communication of the switch interface 1 with the controller 3.
In another embodiment of the present invention, the type of switch 100 may include both conventional switches and sensors and/or bus switches.
In another embodiment of the present invention, in order to further release the CPU resources of the controller, the switch control device further includes a signal processing device, and the signal processing device is configured to receive an on/off instruction from the switch interface 1, convert the instruction into the state information, and send the state information to the controller 3 accordingly.
In another embodiment of the present invention, in order to enable the controller 3 to accurately send a command to a corresponding device according to the received status information, the information includes the status information of the switch 100 and the identity information of the switch 100; thus, the controller 3 can accurately send a command to the device matching the switch 100.
In another embodiment of the present invention, the information includes on/off command information of the switch, and the switch interface 1 collects the information and transmits the information to the controller 3 through the bus, so that the controller 3 sends a command to the corresponding device.
As shown in fig. 1, in another embodiment of the present invention, the switch interface 1 is compatible with multiple types of switches, for example, the switch 100 may be a digital switch or an analog switch; it may also include both digital and analog switches. When the switch is the digital switch, the digital switch control circuit further comprises a first identity recognition circuit for acquiring the first identity information; the first identity recognition circuit is used for acquiring the type and the address of the digital switch. When the switch is the analog switch, the switch further includes an analog switch control circuit, which is shown with reference to fig. 2. The analog switch control circuit comprises a second identity recognition circuit used for acquiring the second identity information; the second identification circuit is used for acquiring the type and the address of the analog switch. And to further accommodate multiple types of analog switches, the switch interface is programmable.
As shown in fig. 2, an embodiment of the present invention also discloses a switch control method, including:
s401: information of a plurality of switches is acquired.
S402: transmitting the information to the controller accordingly.
S403: the information is received.
S404: and sending an instruction to the corresponding equipment based on the received information.
In summary, the switch interface 1 executes step S401 to collect information of various types of switches; then, the switch interface 1 continues to execute the step S402, and the collected switch information is transmitted to the controller 3 through the bus; next, the controller 3 executes step S403 to receive the information, and further the controller 3 executes step S404 to send an instruction to the corresponding device based on the received information; and then instructed accordingly by the device. It should be noted here that the switch interface 1 also needs to transmit the identity information of the switch to the controller 3, and only then can the controller accurately send the instruction to the device matched with the switch.
The present invention will be described in more detail below with reference to a specific embodiment based on the above-mentioned embodiments.
As shown in fig. 1 to 4, the present embodiment includes a switch interface 1, a bus 2, a plurality of controllers 3, and a signal processing device; the switch interface 1 communicates with a plurality of the controllers 3 through the bus 2 (which may be a CAN, FR, LIN or ETHERNET bus); the switch interface 1 is used for collecting information of a plurality of switches 100 (which may be conventional switches, sensors and/or bus switches); the information is processed by the signal processing device 4 and then converted into state information, and then the information is transmitted to the controller 3 correspondingly through the bus 2; in order to enable the controller 3 to accurately send instructions to the corresponding devices according to the received state information, the information includes the state information of the switch 100 and also includes the identity information of the switch 100; thus, the controller 3 can accurately send a command to the device matching the switch 100. The switch 100 may be a digital switch or an analog switch; it may also include both digital and analog switches. When the switch is the digital switch, the digital switch control circuit further comprises a first identity recognition circuit for acquiring the first identity information; the first identity recognition circuit is used for acquiring the type and the address of the digital switch. When the switch is the analog switch, the switch also comprises an analog switch control circuit. The analog switch control circuit comprises a second identity recognition circuit used for acquiring the second identity information; the second identification circuit is used for acquiring the type and the address of the analog switch. And to further accommodate multiple types of analog switches, the switch interface is programmable.
The embodiment of the invention CAN also further learn all human-computer interface types and addresses in the vehicle in a diagnosis or self-adaptive mode, and then send signals to the associated controller in a CAN/FR/LIN/ETHERNET communication mode; the switch device is arranged at a position close to the human-computer interface to save the length of a wiring harness, and is connected with the associated controller in a bus mode, and only 2 lines are needed; the switch control device processes the signal acquisition and processing related to the information of the bottom layer of the sensor, so that the resource redundancy and waste of the associated controller are avoided; the switch control device mainly solves the problem of address learning and signal acquisition processing of all man-machine interfaces, and avoids the situation that the traditional man-machine interfaces have no address information and no unified switch signal acquisition algorithm.
The embodiment of the invention also provides an automobile which is provided with the switch control device related to any one of the embodiments.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. A switch control device is characterized by comprising a switch interface, a bus and a plurality of controllers;
the switch interface is communicated with the controllers through the bus;
the switch interface is used for acquiring information of a plurality of switches; and transmitting the information to the corresponding controller through the bus;
the controller sends an instruction to the corresponding device based on the received information.
2. The switching control device of claim 1, wherein the bus is a CAN, FR, LIN, or ETHERNET bus.
3. The switch control device of claim 1, wherein the switch comprises a sensor and/or a bus switch.
4. The switch control device according to claim 1, further comprising a signal processing device, wherein the signal processing device is configured to receive information from the switch interface, convert the information into the status information, and send the status information to the controller accordingly.
5. The switch control device according to claim 1, wherein the information includes on/off instruction information of the switch.
6. The switch control apparatus according to claim 5,
when the switch is the digital switch, the digital switch control circuit further comprises a first identity recognition circuit for acquiring the first identity information;
the first identity recognition circuit is used for acquiring the type and the address of the digital switch.
7. The switch control apparatus according to claim 5,
when the switch is the analog switch, the analog switch control circuit is further included, and the analog switch control circuit includes a second identity recognition circuit for acquiring the second identity information;
the second identification circuit is used for acquiring the type and the address of the analog switch.
8. The switch control apparatus of claim 7, wherein the switch interface is programmable.
9. A switch control method, comprising:
acquiring information of a plurality of switches;
transmitting the information to the controller accordingly;
receiving the information;
and sending an instruction to the corresponding equipment based on the received information.
10. A motor vehicle, characterized by comprising the switch control device according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010876562.8A CN112061045A (en) | 2020-08-27 | 2020-08-27 | Switch control device and method and automobile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010876562.8A CN112061045A (en) | 2020-08-27 | 2020-08-27 | Switch control device and method and automobile |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112061045A true CN112061045A (en) | 2020-12-11 |
Family
ID=73660501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010876562.8A Pending CN112061045A (en) | 2020-08-27 | 2020-08-27 | Switch control device and method and automobile |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112061045A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2750579Y (en) * | 2004-11-24 | 2006-01-04 | 包戴远 | Switch bus system for automobile |
CN1804741A (en) * | 2005-12-12 | 2006-07-19 | 天津卡达克汽车高新技术公司 | Intelligent automobile body network control system device and control method thereof |
CN101150908A (en) * | 2007-10-30 | 2008-03-26 | 哈尔滨工业大学 | Car lamp control system based on LIN bus network and its control method |
CN101342890A (en) * | 2008-07-18 | 2009-01-14 | 清华大学 | Assembled switch based on local internet bus line of controller of automobile |
CN101989853A (en) * | 2009-08-04 | 2011-03-23 | 杰克陈 | Switch control circuit, switch sending integrated circuit and switch execution integrated circuit |
CN102195630A (en) * | 2010-03-18 | 2011-09-21 | 杰克陈 | Switch control circuit, switch transmission integrated circuit and switch actuating integrated circuit |
CN102221468A (en) * | 2010-04-16 | 2011-10-19 | 哈尔滨工业大学 | Automobile body LIN sub-node detection platform and detection method |
CN202716822U (en) * | 2012-03-09 | 2013-02-06 | 武汉理工大学 | Signal collecting and transmitting device for multiple automobile switches |
CN207481769U (en) * | 2017-10-16 | 2018-06-12 | 宝沃汽车(中国)有限公司 | A kind of vehicle switch function system for prompting |
CN110781103A (en) * | 2019-11-05 | 2020-02-11 | 中电科仪器仪表有限公司 | PXI bus switch module control system and method |
CN110936909A (en) * | 2019-11-29 | 2020-03-31 | 昌辉汽车电气系统(安徽)有限公司 | Intelligent switch control system for automobile |
CN210575599U (en) * | 2019-11-15 | 2020-05-19 | 宁波兴为汽车电子有限公司 | Vehicle switch with identity code |
-
2020
- 2020-08-27 CN CN202010876562.8A patent/CN112061045A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2750579Y (en) * | 2004-11-24 | 2006-01-04 | 包戴远 | Switch bus system for automobile |
CN1804741A (en) * | 2005-12-12 | 2006-07-19 | 天津卡达克汽车高新技术公司 | Intelligent automobile body network control system device and control method thereof |
CN101150908A (en) * | 2007-10-30 | 2008-03-26 | 哈尔滨工业大学 | Car lamp control system based on LIN bus network and its control method |
CN101342890A (en) * | 2008-07-18 | 2009-01-14 | 清华大学 | Assembled switch based on local internet bus line of controller of automobile |
CN101989853A (en) * | 2009-08-04 | 2011-03-23 | 杰克陈 | Switch control circuit, switch sending integrated circuit and switch execution integrated circuit |
CN102195630A (en) * | 2010-03-18 | 2011-09-21 | 杰克陈 | Switch control circuit, switch transmission integrated circuit and switch actuating integrated circuit |
CN102221468A (en) * | 2010-04-16 | 2011-10-19 | 哈尔滨工业大学 | Automobile body LIN sub-node detection platform and detection method |
CN202716822U (en) * | 2012-03-09 | 2013-02-06 | 武汉理工大学 | Signal collecting and transmitting device for multiple automobile switches |
CN207481769U (en) * | 2017-10-16 | 2018-06-12 | 宝沃汽车(中国)有限公司 | A kind of vehicle switch function system for prompting |
CN110781103A (en) * | 2019-11-05 | 2020-02-11 | 中电科仪器仪表有限公司 | PXI bus switch module control system and method |
CN210575599U (en) * | 2019-11-15 | 2020-05-19 | 宁波兴为汽车电子有限公司 | Vehicle switch with identity code |
CN110936909A (en) * | 2019-11-29 | 2020-03-31 | 昌辉汽车电气系统(安徽)有限公司 | Intelligent switch control system for automobile |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4942571A (en) | On-board network for motor vehicles | |
JPH07507909A (en) | Automotive communication system | |
CN109407656B (en) | Scanning method of electronic control unit in vehicle and automobile diagnosis device thereof | |
CN107111902A (en) | Remote vehicle data gathering system | |
JP2008225673A (en) | Relay connector unit, wire harness assembly unit and electronic equipment control system | |
EP2362570B1 (en) | Communication circuit, communication network, and connecting apparatus | |
WO2010144818A1 (en) | Vehicle communications interface and method of operation thereof | |
JP2006347258A (en) | Car-mounted adapter for communication and wire harness for automobile | |
US20090210171A1 (en) | Monitoring device and monitoring method for a sensor, and sensor | |
CN103842214B (en) | Vehicle data initialization system and output establishing method thereof | |
CN103558780A (en) | Car-mounted bus controller | |
CN112061045A (en) | Switch control device and method and automobile | |
CN207875555U (en) | A kind of vehicle remote of automobile key integrated is unlocked and starter | |
US6411866B1 (en) | Digital transmission and control system for vehicles | |
CN110936909A (en) | Intelligent switch control system for automobile | |
JPH0795659A (en) | Integral control unit for automobile | |
JP2003535533A (en) | Methods for exchanging data between multiple participants | |
CN104908640A (en) | Display system and implementation method thereof | |
CN210822120U (en) | Vehicle-mounted bus system and automobile | |
KR20060003754A (en) | Test device of can telecommunication network on vehicle and method thereof | |
JP3669671B2 (en) | Signal compatible device for failure diagnosis device | |
CN105292131A (en) | Device and method for notifying vehicle information | |
RU30323U1 (en) | Car engine controller | |
Floyd | A system to evaluate communication protocols for automotive multiplex | |
CN114175582B (en) | Network line concentration device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201211 |
|
RJ01 | Rejection of invention patent application after publication |