Example 1
According to the utility model provides an embodiment provides a control system based on drive-by-wire ware.
Fig. 1 is a schematic structural diagram of a control system based on a wire controller according to an embodiment of the present invention, as shown in fig. 1, the control system includes: an input device 101, a processor 103, and a power supply 105.
The input device 101 is used for receiving a control instruction input by a user.
The processor 103 is connected to the input device, and is configured to receive a control instruction, and control the electrical device to complete a corresponding operation according to the control instruction, where the control instruction at least includes one of the following: the gesture control instruction is generated by gesture operation.
And the power supply 105 is connected with the processor and used for supplying power to the processor.
In an optional embodiment, a user inputs a control instruction to the processor through an input device, where the input device may be, but is not limited to, a wire controller, the wire controller includes a wire controller main body and a knob, the user inputs a control instruction for controlling the electrical device to perform mode switching through the wire controller main body, inputs a control instruction for adjusting a parameter value of the electrical device through rotating the knob of the wire controller, the processor processes the control instruction after receiving the control instruction input by the input device connected to the processor, and controls the electrical device to complete a corresponding operation according to a processed result.
It should be noted that the knob and the line controller main body may be connected together or in a separated state, where the line controller main body first detects a connection state between the knob and the line controller main body, then reads an operation instruction (i.e., a control instruction) of a user according to the connection state, and controls the electrical equipment to complete an operation corresponding to the control instruction according to the read control instruction.
In addition, it should be noted that the control instruction input by the user through the input device includes a gesture control instruction and a knob control instruction, and when the knob is separated from the line controller main body, the control instruction is the gesture control instruction; when the knob is connected with the wire controller main body, the control instruction comprises a knob control instruction and a gesture control instruction, wherein the knob control instruction is an instruction generated when a user rotates the knob.
It can be seen from the above that, in this embodiment, the control instruction of the user is input through the input device, the processor controls the electrical equipment to complete the operation corresponding to the control instruction according to the control instruction received by the input device, it is easy to notice that, because the knob of the input device can be taken down from the line controller main body, and, under the condition that the knob is in the separated state from the line controller main body, the electrical equipment can be controlled through the line controller main body, the purpose of controlling the electrical equipment according to the gesture under the condition that the knob is separated from the line controller main body is achieved, thereby the technical effect of independence of the knob from the line controller main body is achieved, and the technical problem that the line controller cannot control the electrical equipment when the knob is separated from the line controller main body in the prior art is further solved.
Optionally, fig. 2 shows a schematic structural diagram of an alternative input device, and as shown in fig. 2, the input device includes: a cord controller body 80 and a knob 82. Wherein,
a line controller main body 80 connected to the processor for receiving a control command input by a user;
and a knob 82 for inputting a knob control command to the drive-by-wire unit main body.
Specifically, the wire controller main body is fixed on the electrical equipment or on the wall body, when the knob is connected with the wire controller main body, the knob can be rotated to input a knob control instruction to the wire controller main body, and the parameter value of the electrical equipment can be adjusted by rotating the knob. When the knob and the wire controller main body are in a separated state, at the moment, the knob can be used as a remote controller, namely, the electrical equipment can be controlled through keys on the knob, and the electrical equipment can also be controlled by inputting control instructions to the wire controller main body.
It should be noted that, the knob and the wire controller main body are respectively provided with a magnet, and the knob and the wire controller main body can be attracted together through the magnet.
Optionally, the knob bottom, the one side that knob and line accuse ware main part are relative promptly has the anomalous metal part of round area, when the knob is connected with line accuse ware main part, rotatory knob, the anomalous metal part of knob bottom is mutual-inductive with the inductance detection coil in the line accuse ware main part to make the inductance total amount of inductance detection coil in the line accuse ware main part change, can judge the rotatory angle of knob according to the change value of inductance total amount, and then according to the corresponding parameter value of the rotation angle regulation electrical equipment of knob.
Optionally, the drive-by-wire device main body includes: inductance detection module and gesture response module. The inductance detection module is used for detecting whether the knob is connected with the wire controller main body or not; and the gesture sensing module is used for identifying the gesture of the user and determining a gesture control instruction according to the gesture of the user.
In an alternative embodiment, the wire controller main body includes a plurality of inductance detection modules at a position corresponding to the projection of the knob, wherein the plurality of inductance detection modules include, but are not limited to, an inductance conversion chip, an inductance detection circuit, a plurality of inductance detection coils, and the like, one side of the knob opposite to the wire controller main body includes a circle of copper sheet, when the knob is connected to the wire controller main body, the total inductance of the plurality of inductance detection coils of the wire controller main body changes, for example, the total inductance suddenly increases, and it is determined that the knob is connected to the wire controller main body; when the knob is separated from the wire controller main body, the total inductance of the plurality of inductance detection coils of the wire controller main body also changes, but is different from the total inductance when the knob is connected with the wire controller main body, and the total inductance at the moment is suddenly reduced, so that the knob and the wire controller main body can be determined to be in a separated state.
In another optional embodiment, the gesture sensing module of the line controller main body may recognize a gesture of the user, determine whether the gesture information of the user matches a preset gesture, determine that the gesture of the current user is an invalid gesture if the gesture information of the user does not match the preset gesture, and prompt the user to re-input the gesture on the display screen of the line controller main body. The preset gestures are preset gestures stored in a processor connected with the line controller, each preset gesture has a control instruction corresponding to the preset gesture, and a user can control the electrical equipment according to the preset gestures. In addition, the user can also customize the gesture, that is, the user can set the corresponding relation between the gesture and the control instruction according to the own requirement.
The gesture information is a gesture in a gesture recognition area of the line controller main body, for example, a left-right stroke track.
In another alternative embodiment, when a finger of a user strokes in the gesture sensing area of the line controller main body, the capacitance capacity of the line controller main body changes, and thus, the processor connected to the line controller main body records the position where the capacitance capacity changes in the gesture sensing area of the line controller main body within a preset time, that is, the position stroked by the gesture of the user. Connecting the positions of capacitance capacity changes in the gesture sensing area of the line controller body within preset time, namely obtaining gesture information of a user, storing the obtained gesture information of the user, matching the gesture information with the preset gesture, and further obtaining a control instruction corresponding to the gesture.
Optionally, the inductance detection module includes: at least one inductance detection coil, inductance detection circuit and inductance conversion chip. The wire controller comprises a wire controller body, at least one induction detection coil, a control circuit and a control circuit, wherein the at least one induction detection coil is used for being mutually inducted with an irregular metal part under the condition that a knob is connected with the wire controller body and the knob rotates; the inductance detection circuit is used for acquiring a mutual inductance value of at least one inductance detection coil and the irregular metal part; and the inductance conversion chip is used for generating the rotation angle of the knob according to the mutual inductance value.
In an alternative embodiment, when the knob is connected to the line controller main body, the knob rotates, the total inductance of the plurality of inductance detection coils on the line controller main body also changes, but the change value of the total inductance is smaller than the change value of the total inductance when the knob is separated from or connected to the line controller main body, so that the connection state of the knob and the line controller main body can be accurately determined by judging the change value of the total inductance of the plurality of inductance detection coils on the line controller main body.
In addition, based on the same principle, the rotating angle of the knob on the main body of the line controller can be determined by judging the change value of the total inductance, and then the parameter value of the electrical equipment is determined and adjusted according to the rotating angle of the knob.
Optionally, the drive-by-wire device main body further includes: and a display module. The display module is used for displaying parameters and running states of the electrical equipment.
Optionally, the gesture control instruction includes at least one of the following: the control system comprises a knob, a line controller body, a complex control instruction and a simple control instruction, wherein the gesture control instruction is the complex control instruction under the condition that the knob is separated from the line controller body, and the gesture control instruction is the simple control instruction under the condition that the knob is connected with the line controller body.
It should be noted that, when the knob is attracted to the line controller main body, the inductance detection module detects that the knob is connected to the line controller main body, at this time, the gesture sensing module receives a simple control instruction input by a user, and at this time, the complex control instruction is an invalid instruction, and the rotation of the knob is combined, so that the operation state and the operation parameter value of the electrical equipment can be controlled. When knob and drive-by-wire ware main part are in the separation state, inductance detecting module can not detect the knob, gesture response module can receive the complicated control instruction of user input, preset complicated gesture is activated, drive-by-wire ware main part at this moment can accomplish the function the same with the knob (adjust electrical equipment's parameter value promptly), for example, draw the pitch arc at user's finger in gesture response area, can adjust the parameter value, can reach the effect the same with the knob, draw the direction of pitch arc and can control the increase or the reduction of parameter value, draw about from top to bottom and can switch electrical equipment's operational mode etc..
The above embodiment numbers of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.