A kind of KTV box hardware central controller
Technical field
This utility model relates to KTV box field of intelligent control, particularly relates to a kind of KTV box hardware
Central controller.
Background technology
In order to meet the amusement requirement of KTV, light, sound equipment and wallboard (i.e. control switch, are integrated with on wall
Multiple control switch) etc. hardware become the equipment that KTV box is indispensable, from KTV be born since just
Face the communication to equipment numerous in these boxes and centralized Control, in the prior art, it is achieved these lead to
The equipment of letter and control function is in industry referred to as middle control, i.e. KTV box hardware central controller.
In box, hardware device some (such as: power amplifier, prime etc.) is directly inserted in each port of middle control
On, fractional hardware equipment (such as: lamp control, wallboard etc.) is distributed in each corner RS-485 network of box
Connect and be followed by middle control.Middle control directly controls sound equipment after receiving the control instruction of KTV VOD system by serial ports
(such as: volume is added and subtracted) or a control command make the response of correspondence (such as: lamp to the equipment in hardware net
The Push And Release of tool, service call etc.).Control the various operations also receiving hardware net cornice sheathing in Tong Shi, solve
Control after analysis to be also uploaded to outside corresponding device KTV VOD system realize other function (such as: cut song,
Switch former vocal accompaniment, quiet etc.).
In the prior art, middle control is all to exist with independent single machinery equipment form, and it is placed in box
Equipment enclosure in.It has casing, and volume is relatively large, need during use by power supply adaptor to
In this, control provides power supply, and is to be connected with computer by serial ports that (this just requires computer serial communication to be had
Connect).Existing KTV is controlled and there is following shortcoming:
1, middle control volume is bigger: in box, cabinet space is narrow and small, has more so one equipment occupation space, order
Seeming in rack crowded, in unfavorable cabinet, equipment ventilates, the later maintenance of equipment in unfavorable cabinet.
2, need to provide multiple power supply: because middle keyholed back plate manages a hardware net, need to be equipped with independent electricity
Source, and other controlled plants are also required for being equipped with independent power supply adaptor, not only bracing wire trouble,
Also improve hardware cost.
3, host computer is selected restricted: conventional middle control is mostly with serial ports as communication interface, and computer is continuous
Update, old communication interface serial ports gradually eliminated, and a lot of host computers the most do not reoffer string
Mouthful, so existing middle control becomes there is limitation to computer buying.
4, line is many: at least need more than two Serial Port Lines and a power line, a wherein serial ports and host computer
Connecting, another serial ports is connected with controlled device.
5, traffic rate is slow: the communication interface that serial ports is gradually eliminated, and its highest communication speed is only
115200bps。
6, KTV computer housing space and power utilization rate are low: the host computer multiclass used in KTV box
Being similar to sell the application of client, be the individual terminal without dish, it does not has cd-rom player, floppy drive and hard disk
Deng equipment (being mainly used in decoding and the broadcasting of Voice & Video information in KTV), have the most untapped
Space.And the power supply of cabinet mostly is the power supply of about 300W of standard configuration, so host computer is box planted agent
Redundancy is had with middle power supply.
Utility model content
The technical problems to be solved in the utility model, it is provided that a kind of KTV box hardware central controller, it can
It is integrated in KTV computer host box, and can be controlled plant centrally connected power supply, KTV in prior art
Box controls volume is big, need to provide that multiple power supply, transfer rate are slow, host computer is selected restricted etc.
Technical problem.
This utility model is achieved in that
A kind of KTV box hardware central controller, including microcontroller, pci bridge chip, PCI golden finger,
DC source interface and serial communication interface, described microcontroller, pci bridge chip, PCI golden finger, direct current
Power interface and serial communication interface are integrated on same circuit board;
Described pci bridge chip is connected with microcontroller, and PCI golden finger is connected with pci bridge chip;
Described PCI golden finger is arranged at a side of circuit board, and central controller passes through PCI golden finger with upper
PCI slot in the mainboard of position connects;
The output port of described serial communication interface is RJ45 terminal, and controlled hardware equipment is connected to by netting twine
Described RJ45 terminal;
Described DC source interface is connected with the DC source of host computer, the positive pole of DC source interface and negative pole
Respectively by the two untapped pins being connected in described RJ45 terminal and be controlled hardware equipment by netting twine
Power supply.
Further, also include that filter circuit, described filter circuit are series at the both positive and negative polarity of DC source interface
And between RJ45 terminal.
Further, an output branch road of described DC source interface connects 5V mu balanced circuit, 5V voltage stabilizing
The outfan of circuit is connected to microcontroller power input.
Further, also include that effect device controls interface, power amplifier controls interface and Complex interface;
Described power amplifier controls interface and is connected to microcontroller by optocoupler;
Described Complex interface includes that multiple pin, each pin are connected to the different GPIO mouths of microcontroller.
Further, described Complex interface is DB15 interface.
Further, described Complex interface includes that Service lamp controls output pin and expanded function reserves pin.
This utility model has the advantage that traditional middle control main frame is improved to one and can set by this utility model
The middle control card being placed in cabinet, and the pci bus of computer housing is connected by PCI golden finger, do not account for
With the ventilation of other equipment in cabinet space, more conducively rack, improve system reliability, reduce cost,
Also reduce cable to connect simultaneously, improve and host computer communication throughput rates, for more middle control should in the future
With having paved road, also improve communication reliability and maintainability;Further, this utility model passes through
DC source interface is connected with the DC current of host computer, and by the connected with network cable of serial line interface be controlled firmly
Part equipment centrally connected power supply, not only makes the power supply of host computer be fully used, also eliminate central controller with
And the power supply adaptor of controlled hardware equipment, reduce further cost, be the most also more convenient for installing and wiring.
Accompanying drawing explanation
Fig. 1 is the circuit theory diagrams of this utility model embodiment KTV box hardware central controller;
Fig. 2 is this utility model embodiment KTV box hardware central controller PCB typesetting figure;
Fig. 3 is this utility model embodiment KTV box hardware central controller centrally connected power supply schematic diagram.
Label declaration:
1, PCI golden finger;2, pci bridge chip;3, microcontroller;4, supply socket;5、
The control port of power amplifier or prime;6, hardware network interface;7, Complex interface;8, effect device control
Interface processed.
Detailed description of the invention
By describing technology contents of the present utility model, structural feature in detail, being realized purpose and effect, below
In conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
Referring to Fig. 1 and Fig. 2, this utility model embodiment, a kind of KTV box hardware central authorities control
Device, including PCI golden finger (1) (i.e. PCI slot in Fig. 1), pci bridge chip (2) is (i.e. in Fig. 1
PCI Bridge), microcontroller (3) (i.e. CPU in Fig. 1), supply socket (4) (i.e. big 4P terminal in Fig. 1),
The control port (5) (i.e. S end interface in Fig. 1) of power amplifier or prime, hardware network interface (6) (i.e. Fig. 1
In RJ45 terminal), Complex interface (7) (i.e. DB15 complex function socket in Fig. 1) and effect device control
Interface processed (8) (i.e. midi interface in Fig. 1), described PCI golden finger (1), pci bridge chip (2), micro-control
The control port (5) of device processed (3), supply socket (4), power amplifier or prime, hardware network interface (6), Complex interface
(7) control interface (8) be arranged on same circuit board (therefore following also by central controller abbreviation with effect device
For middle control card).
The PCI communication slot that PCI golden finger (1) is inserted on host computer (i.e. host computer), PCI gold hands
Refer to that (1), as the interface with compunlcation, instead of the Serial Port Line of control in original tradition.PCI golden finger (1)
The data mutual with computer flow through oversampling circuit to pci bridge chip (2), pci bridge chip (2) and its peripheral circuit unit
Device and PCI golden finger (1) form and achieve middle control card PCI communication function.Originally pci bus was passed through
Communication, is out now the TTL asynchronous communication of standard after pci bridge chip (2), and pci bridge chip (2) is out
Signal via middle control card on circuit be connected with microcontroller (3), so far microcontroller (3) is passed through
Pci bridge chip (2) is indirectly and the ability of compunlcation.
Microcontroller (3) sets according to controlled after computer host computer KTV VOD system software interactive command analysis
Standby differentiation processes in a different manner.The control port (5) of power amplifier or prime and effect device control interface (8) with
And Complex interface (7) is directly on middle control card, so the control instruction for sound equipment one class is solved by microcontroller (3)
Directly corresponding device can be controlled after analysis.
The hardware device of light, service doorplate lamp (being i.e. arranged at the Service lamp on door), exhaust fan etc. in box
It is to hang over a RS-485 bus (serial communication bus) above, namely hardware network interface (6).So
The control instruction of these equipment can issue purpose equipment by RS-485 bus after being resolved by microcontroller (3), continues
And realize the control to purpose equipment.As it is shown in figure 1, serial communication bus output port is RJ45 terminal,
Controlled hardware equipment is series on universal serial bus by netting twine.Hardware network interface (6) is controlled except hanging above
Outside equipment, the most then input equipment such as KTV box wallboard, RS-485 is passed through in the order of these input equipments
Bus issues the middle upper microcontroller (3) of control card, and microcontroller (3) is passed to by pci bridge chip (2) after resolving again
Position machine program.
Referring to Fig. 1 and Fig. 3, the power supply controlling card in this is directly to be powered by the power supply in computer housing, and it supplies
Electricity is divided into two parts, and the power supply of pci bus communications portion is passed through computer PCI groove by PCI golden finger (1)
Obtain.The power supply of microcontroller (3) and peripheral circuit is then by inserting the power supply of supply socket (4) through 5V voltage stabilizing electricity
Road obtains after reducing.Middle control card also will be by hardware network interface (6) from the 12V power supply that supply socket (4) obtains
Centrally connected power supply is carried out to the equipment hung in hardware net.Concrete, the positive pole of DC source interface and negative pole
By the two untapped pins that are connected in described RJ45 terminal, (some pin is used for serial communication respectively
Use), therefore it is connected with the power input of controlled hardware equipment by netting twine, it is achieved for controlled hardware equipment
Power supply.
As it is shown in figure 1, be also provided with filter circuit between the both positive and negative polarity of supply socket (4) and RJ45 terminal
And protection circuit, the LC filter circuit that described filtering battery can be commonly used, the mistake that protection circuit can also be commonly used
Carrying protection circuit, described filter circuit is the ripple factor for improving centrally connected power supply, and protection circuit is then
Will not damage for the protection DC source when load overload or short circuit.
By hosted as a middle control card insertion computer housing pci bus of the present utility model for traditional middle control
Plate card type in control, be not take up cabinet space, the more conducively ventilation of other equipment in rack, improve system
Reliability, reduces cost;
Decrease cable to connect, reduce cost, improve reliability and maintainability.
This utility model is connected with the DC current of host computer by DC source interface, and passes through serial line interface
Connected with network cable be controlled hardware equipment centrally connected power supply, not only make the power supply of host computer be fully used, also
Eliminate central controller and the power supply adaptor of controlled hardware equipment, reduce further cost, simultaneously
Also it is more convenient for installing and wiring.
Middle control and host computer communication throughput rates are reached as high as 1Mbps, for the most more by this utility model
Road has been paved in middle control application.
The foregoing is only embodiment of the present utility model, not thereby limit the scope of the claims of the present utility model,
Every equivalent shapes utilizing this utility model description and accompanying drawing content to be made or reconfiguration, or directly or
Indirectly it is used in other relevant technical fields, is the most in like manner included in scope of patent protection of the present utility model.