Background technology
Television set produce and the after-sale service process in often need upgrade to the software program of its inside, to enrich constantly or to improve the function or the performance of tv product.Particularly for present high-end TV product, need many signalling channels, and each passage also to support many forms, even also will finish other functions as VIDEO, YPBPR, VGA, HDMI etc.Function increase the complexity that causes program, therefore, just seem particularly necessary after sale the software program of its inside being carried out the online upgrading operation.
Existing method for upgrading software mainly comprises two kinds: a kind of is the dismounting television rear cover, directly changes the software program memory device on the TV SKD, to realize the renewal of software program.This upgrade method needs the professional and technical personnel to adopt specialized apparatus just can finish, and its step is very loaded down with trivial details, and needs the cost lot of manpower and material resources.Second kind of upgrade method is that upgrade port is set on television set, upgrades with computer is online.Promptly, write television set by upgrade port again, to replace original software program in the television set by moving ROMPaq on computers.This software upgrading mode is not owing to need television set hardware is done any dismounting or change, and therefore more preceding a kind of method is simple and practical.Also Just because of this, present most television manufacturer generally adopt second method to realize the online upgrading of TV set software.
At present, most television manufacturer all adopt RS-232 serial data standard interface as upgrade port, when carrying out the software upgrading operation, by universal serial bus the upgrade port on the television set is connected with the serial ports of computer, finishes updating operation the television set in house software by the ROMPaq of operation in the computer.This method for upgrading software utilizes computer as upgrading tool, and the personnel's configuration computer that not only needs to upgrade, and when carrying out updating operation also needs to start and moves software upgrade procedure in the computer and just can finish renewal to the television set internal processes.Therefore, operating process is also comparatively loaded down with trivial details, and upgrading efficient is low.
The utility model content
The utility model is in order to solve loaded down with trivial details, the inefficient problem of its operating process of method for upgrading software that existing electric equipment is adopted, a kind of USB interface-based software upgrading circuit is provided, the USB device that stores ROMPaq directly is plugged into and need can realizes the auto-update of software program on the electric equipment of upgrading, thereby greatly made things convenient for updating operation.
For solving the problems of the technologies described above, the utility model is achieved by the following technical solutions:
A kind of USB interface-based software upgrading circuit comprises USB interface and master chip; The power end of described USB interface connects the DC power supply of device interior to be upgraded by switching circuit, the Enable Pin of described switching circuit receives the control signal that master chip sends, determining the power supply timing of described DC power supply, and then provide dc supply to outside USB device to USB interface; The data terminal of described USB interface connects master chip, and external USB equipment carries out data communication by the data terminal and the master chip of described USB interface, to finish the down loading updating of software upgrade procedure.
Further, the data terminal of described USB interface is the differential signal end, connects described master chip by common mode inductance, with the common mode disturbances of sneaking in the filtered signal transmission course.
Further again, on the data terminal of described USB interface, be connected with a piezo-resistance respectively, to rush down antistatic.
Further again, the over-current detection end of described switching circuit connects master chip, the electric current in the described upgrading circuit is detected in real time, and to described master chip output overcurrent detection signal.When over current fault took place, master chip output control signal was turn-offed described switching circuit, with protection external USB equipment.
Further, described DC power supply is by the input of fuse connection switching circuit, and the output of described switching circuit connects the power end of described USB interface by filter circuit; Between the input of described switching circuit and output, be connected with magnetic bead, with the noise in the filter out power.
Based on above-mentioned software upgrading circuit structure, the utility model provides a kind of television set with described software upgrading circuit again, by the usb circuit that is connected with master chip is set in television set, ROMPaq is stored in the external USB equipment, and utilize USB interface to be connected communication with external USB equipment, thereby under the control action of television set master chip, the ROMPaq of storing in the external USB equipment is downloaded in the program storage of television set inside, replacing original working procedure, and then realized the automatic on-line upgrading of television set in house software program.
Compared with prior art, advantage of the present utility model and good effect are: the utility model adopts USB interface as the software upgrading port, when carrying out updating operation, the external memory that only needs USB flash disk etc. to be had USB interface is plugged on the USB interface of equipment to be upgraded, can finish the online updating for the treatment of updating apparatus in house software program, thereby saved the configuration and the use of computer, greatly improved operating efficiency, made things convenient for upgrading personnel's upgrade job.
After reading the detailed description of the utility model execution mode in conjunction with the accompanying drawings, other characteristics of the present utility model and advantage will become clearer.
Embodiment
Below in conjunction with accompanying drawing specific embodiment of the utility model is described in detail.
Software upgrading circuit of the present utility model adopts USB interface as upgrade port, its power end connects DC power supply in the equipment to be upgraded by switching circuit, utilize the DC power supply in the equipment to be upgraded to be the external USB power devices, to drive the operation of external USB device power, communicate with the master chip of device interior to be upgraded, and then under the control action of master chip, transfer to the data terminal of saved software ROMPaq in the external USB equipment by USB interface in the master chip or be used for preserving the memory of working procedure in the equipment to be upgraded, and then realize the down loading updating of software program.Adopt this software upgrading mode to need not External memory equipment is carried out the automatic on-line upgrading that any operation can be finished software program, thereby greatly made things convenient for upgrade job, improved upgrading efficient.
Elaborate the concrete composition structure and the operation principle of described software upgrading circuit below by a specific embodiment.
Embodiment one, and referring to shown in Figure 1, XS807 is a USB interface, and its 1 pin is power end VCC, by switching circuit connection+5V DC power supply M_5V.In the present embodiment, described switching circuit can specifically adopt an electronic switch chip U408 to realize.Input VIN1, the VIN2 of described electronic switch chip U408 are connected DC power supply M_5V by fuse F1, and by filter capacitor C908 ground connection; Its output OUT1, OUT2, OUT3 connect the power end VCC of USB interface XS807 by filter capacitor C909 parallel with one another~C911.Between input VIN1, the VI N2 of described electronic switch chip U408 and output OUT1, OUT2, OUT3, be connected with magnetic bead L809, with the noise jamming in the filter out power, for external USB equipment provides pure+5V direct current supply V5V_USB.
The Enable Pin EN of described electronic switch chip U408 connects master chip, wherein one road GPIO mouth such as master chip, to receive the control signal USB_PPON that master chip sends, when equipment to be upgraded exchanges start or need carry out software upgrading the time, the output low level control signal, control electronic switch chip U408 conducting, and then be communicated with the power supply passage of DC power supply M_5V to USB interface XS807, for being plugged on the external USB power devices on the described USB interface XS807.
2 pin of described USB interface XS807 and 3 pin are differential data end D-, D+, connect common mode inductance L810 by build-out resistor R1283, R1287 respectively, and then through the differential data terminal corresponding connection of described common mode inductance L810, with transmission differential data signals USB_DP, USB_DN with master chip.When equipment to be upgraded exchanges start or need carry out software upgrading, master chip at first detects the version of saved software program in the external USB equipment by USB interface XS807, if consistent with the software version of this device interior, then do not carry out updating operation, directly move present procedure.If non-uniformity of software versions with this device interior, then controlling external USB equipment transfers to the software program of its storage inside differential data end D-, the D+ by USB interface XS807 in the master chip, perhaps be downloaded in the special program storage, to replace original working procedure through described master chip.After the software upgrade procedure down loading updating in the equipment to be upgraded is finished, equipment to be upgraded is restarted, with the software program after the operation upgrading.
In the present embodiment, by being set, build-out resistor R1283 and R1287 can alleviate clutter in the transmission signals; Common mode inductance L810 can play the effect of common mode disturbances in the filtering transmission signals, to guarantee reliability of data transmission.
In addition, in the grafting process, introduce static in order to prevent external USB equipment, master chip is caused damage, on differential data end D-, the D+ of described USB interface XS807, also be connected with one road electro-static discharging device ESD respectively, such as piezo-resistance RV427 shown in Figure 1, RV428.When exterior static voltage sealed in the upgrading circuit by USB interface XS807 after, piezo-resistance RV427, RV428 short circuit to ground, with the protection master chip, prevented that electrostatic high-pressure from smashing master chip with the static bleed off.
In the present embodiment, described electronic switch chip U408 is with the over-current detection function, its over-current detection end OC is on the one hand by resistance R 1479, connect master chip through filter capacitor C1154, such as other one road GPIO mouth of master chip, connect DC power supply M_5V by pull-up resistor R1281 on the other hand.When electronic switch chip U408 was in conducting state, electronic switch chip U408 detected the electric current by its switch ways in real time.When the electric current that passes through was lower than preset threshold, electronic switch chip U408 was changed to low level with its over-current detection end OC; When the upgrading circuit was short-circuited fault, the electric current that flows through electronic switch chip U408 switch ways raise rapidly, surpassed its preset threshold, and at this moment, over-current detection end OC is to master chip output high level over-current detection signal USB_OC.Master chip is after receiving described high level over-current detection signal USB_OC; generate high-level control signal USB_PPON; export the Enable Pin EN of electronic switch chip U408 to; U408 closes with the control electronic switch chip; cut-out is avoided damaging with protection external USB equipment to the 5V of outside USB device power supply.
With the television set be below example elaborate described software upgrading circuit in television set concrete application and compare the good effect that conventional television is brought.
Embodiment two, and Fig. 2 comprises major parts such as power panel, front panel, decoding deck and audio plate for the internal circuit theory diagram of the television set of the described software upgrading circuit of application.Wherein, described front panel is provided with the key circuit that receives the user key-press triggering command, receives the remote-control receiving circuit of the infrared remote-controlled signal that remote controller sends and the high frequency tuner circuit that is used to receive TV RF signals.Described high frequency tuner circuit is after receiving the radio television signal that TV station sends, with its demodulation, handle the back and generate the picture signal and the audio signal that are separated from each other and transfer to decoding deck by interface.Described decoding deck is provided with the master chip as whole television set core cell, be used for finishing and carry out task such as decoding processing to the centralized control of television set major function circuit and to picture signal, such as HID master chip commonly used in the panel TV set at present etc.; Described audio plate is provided with the audio processing unit, after the audio signal that receives is carried out power amplification etc. and handled, drives loud speaker output television field frame.
Above-mentioned front panel, decoding deck and audio plate needed various power supplies in running then provide by power panel output.Described power panel is provided with major parts such as ac power input end AC, power circuit and switch transformer.Outside electric main is introduced the power panel of television set by ac power input end AC, through power circuit carry out rectification, filtering, boosting is transformed into high voltage direct current after handling and exports the elementary of switch transformer to.Described switch transformer by its multichannel secondary coil high voltage direct current is converted to+B reference voltage and follow-up front panel, decoding deck and audio plate on the low-voltage dc power supply of the required different amplitudes of each functional circuit, such as+3.3V ,+5V ,+12V or the like, and then transfer on described front panel, decoding deck and the audio plate by interface, for each functional circuit on it provides stable dc supply.
For the working procedure in the described television set is carried out online upgrading, present embodiment has been set up a USB interface plate in television set, as shown in Figure 2.Software upgrading circuit shown in Figure 1 is arranged on the described USB interface plate, and be connected with decoding deck by interface, and then utilize that original master chip replaces master chip shown in Figure 1 on the television set decoding deck, to realize the communication that is connected between external USB equipment and the television set master chip.Meanwhile, with power panel output+the 5V DC power supply is as the required M_5V DC power supply of software upgrading circuit, connects described USB interface plate.
Television set is being carried out software upgrading when operation, at first before television boot-strap, the USB device (having the memory device of USB interface etc. such as USB flash disk, portable hard drive or other) that stores ROMPaq is being plugged on the USB interface of television set.Wherein, described ROMPaq must be that master chip can be discerned.Then, the control television set exchanges start.After television set exchanged start, master chip at first conducted interviews to USB interface, to confirm whether ROMPaq is arranged (this partial content can adopt the mode of the target of at first visiting in the BIOS setting to realize).If do not have, then master chip control complete machine enters normal operating conditions; If have,,, realize auto-update to replace original working procedure then with the burned FLASH of the ROMPaq of storing in the external USB equipment.After software upgrading finished, television set entered open state, the program after the operation upgrading.At this moment, external USB equipment is pulled up got final product.
After updating operation finished, the upgrading personnel can confirm whether updating operation is successful by the software version that detects after upgrading.
Above-mentioned software upgrading circuit is set in television set, only needs USB device is plugged into the online upgrading that can finish TV set software on the television set.Compare with the traditional software upgrade method, can greatly improve upgrading efficient, make things convenient for upgrading personnel's upgrade job.
Certainly; the above only is a kind of preferred implementation of the present utility model; should be understood that; for those skilled in the art; under the prerequisite that does not break away from the utility model principle; can also make some improvements and modifications, these improvements and modifications also should be considered as protection range of the present utility model.