Audio playback chip OZ168 using AudioDJ technology and its application design

Abstract: CD / DVD ROM has now become a standard equipment for portable computers. The OZ168 chip uses AudioDJTM technology to ensure that CD music can be enjoyed when the computer is not turned on, so that the portable computer can be turned into a portable CD player. This solution can be Greatly reduce computer battery consumption and maximize working hours. The main features and structural functions of OZ168 are introduced, and its application circuit is given.

1 Introduction

OZ168 is a dedicated portable computer audio playback chip produced by O2 MICRO. At present, almost all portable computers use CD / DVD ROM as the standard configuration. Normally, to play CD music on a portable computer, you need to turn on the system first and use Windows-sTM Media Player or other media playback software to play. For simple functions to turn on the system, and consume a lot of battery power, this will undoubtedly bring the pressure of the battery power shortage for the normal mobile office. The AudiJDJTM technology enables portable computer users to enjoy the beauty of CD music at any time without having to worry about the battery capacity limitation. The special isolation measures of the OZ168 device can ensure that only a small part of the system ’s power supply, such as CD / DVD ROM, can be provided while the rest of the computer Turn off, thereby greatly reducing the computer's battery consumption and maximizing battery operating time. Figure 1 is a block diagram of the working system of OZ168. Its main functions and features are as follows:

● There are three working modes: CD playback mode, direct playback mode, direct communication channel mode;

● There are three power management schemes: automatic power-saving working mode, sleep mode, standby mode;

● Support 2-bit CD audio track digital display, LCD can be used to display STOP, Pay? Pause? Sear and other states;

● In CD playback mode, various working states of CD / DVD ROM can be controlled by ATAPI protocol;

● Support CD / DVD ROM DMA function, so that the data transmission rate is faster;

● AudjoDJTM technology can guarantee the minimum software support of the system;

● With CD high-quality sound effects.

2 Working mode

OZ168 has three working modes: CD player (CD Player Mode), direct player (Direct Mode) and direct communication channel (PASS Through Mode). And the chip will automatically enter the corresponding working mode according to different working states of the computer.

2.1 CD playback mode

When the system is in CD playback mode, only the CD ROM and the audio amplifier need power for the entire system, and the rest of the system is turned off. At this time, the CD ROM left and right channel audio signals are directly transmitted to the audio amplifier, thus ensuring that the system is not powered on. Play the CD below. In the CD Player mode, OZ168 can directly control the status of CD / DVD ROM and play CD Track's audio tracks through the ATAPI protocol. OZ168 music player key functions are as follows:

(1) Through operations such as Payer, Pause, NEXT TPK, PREV TRK, STOP EJ ECT, etc., users can choose their favorite music.

(2) Through the ATAPI interface, the working state of the CD ROM can be directly controlled by the ATAPI command in the CDPlayer working mode. ATAPI can not only provide the control commands listed in Table 1, but also customize some control commands. ATAPI devices such as CD / DVD ROM? Support all ATA specific protocols and control commands in OZ168 work. Figure 2 is a working state diagram of CD playback mode.

Table 1 ATAPI command control table

Command control Operation code
Mode sense 5Ah
Pause / resume 4Bh
Play audio MSF 47h
STOP 1Bh
Read TOC 43h
Request sense 03h
Read sub channel 42h
Test unit ready 00h
Unlock 1Eh

2.2 Direct playback mode

In direct playback mode, the system has actually entered the power-on state, at this time the user can still use various function keys to control CD playback. When the function key PLAY PAUSE, NEXT TRK, PREV TRK or STOP_ECT is pressed, OZ168 will send an interrupt INT signal to change the 8th byte of the interrupt status register? 07h ?. When an INT signal is sent from OZ168, SMBUS Host will read the function key register? 01h? To determine which key is pressed, and then, the command control register? 03h? Bit? ACK? Byte will be reset, the predetermined AudiDJTM driver and CD ROM The driver will directly issue corresponding control commands to the CD / DVD ROM to control the action of the CD / DVD ROM. When the OZ168 control command ends, OZ168 will automatically clear the value of the function key register and ACK byte.

2.3 Direct communication channel mode

In PASS Thumb working mode, OZ168 is regarded as a transparent part between OS and all system devices, that is, the device and OS "see" the existence of OZ168. At this time, OZ168 only transmits the system and CD ROM. And feedback commands, and OZ168 does not make any changes to these instructions and data, all system IDE bus signals pass directly to the CD ROM IDE bus. At this time, OZ168 is only used as a channel for data / command transmission between the system and CD ROM. 3 Internal structure

The internal structure diagram of OZ168 is shown in Figure 3, and its main components are described below.

3.1 State Controller Module

The three working states of OZ168 are mainly selected by the state controller. The state controller determines which working mode to enter by detecting the input signals of PAV EN, PC SYSTE-MOFF () and DIRECTOR Mode REGISTER (). When PAV_EN is 1 and PC SYSTE-MOFF is 1? OZ168 will send the PWM CTRL signal to turn on the power of CD ROM and audio amplifier, and cooperate with the function key controller to directly control the working state of CD ROM through the ATAPI protocol. At this time, OZ168 enters CD Player mode. The input logic signals and related states of the state controller module are listed in Table 2.

Table 2 State controller and working mode state table

Operating mode PAV-EN signal status PCSYSTEM-OFF signal status Direct Mode signal status
CD Player 1 1 x
Direct Mode x 0 1
Pass Through x 0 0
Power Off 0 1 x

3.2 Function key control module

In the CD Player mode and the Direc mode, when there is a function key signal input to the control module, the function key controller will refill the internal registers and transfer the changed register information to the state controller module. The state controller receives and saves these settings, and at the same time converts them into ATAPI protocol control commands to directly control the CD / DVD ROM to make various function selections.

3.3 LCD status display module

OZ168 uses COM0, COM1 and LCD? 12 ... 1? Signals to drive the LCD 2-digit 7-segment digital tube, so as to display the current audio track number and the status of STOP, PLAY, PAUSE and Fast sear etc. COM0 and COM1 are the 12th group of 64 Hz clock drive signals of the LCD panel display module. Using LCD? 12 ... 1? 12-bit display data signal, and with COM0, COM1 clock signal can drive 3-bit 7-segment digital tube. Figure 4 shows the clock drive signal waveforms of COM0 and COM1.

4 Design examples

OZ168 voltage range is -0.3V ~ + 6.0V, its input voltage should be between -0.3 ~ + 0.3V, normal operating temperature range is 0 ~ 70 ℃. Figure 5 is an application example of OZ168. Its function key input signals PREV TRK, NEXT TRK, PLAY PAUSE, STOP EJECT, etc. need to be connected with 100pF filter capacitors to prevent malfunction caused by noise interference. PWR CTL signal is pulled down to 47kΩ The resistance can ensure that the PWR CTL is 0 at the rising edge of RESET, so that the power management control is turned on. The PAVMOD / IDSEL pin should also be pulled down with a 4.7kΩ resistor. Select SM BUD adress ID is 34h to ensure that the input power of OZ168 is stable and the Vcc terminal Need to connect a 10μF tantalum capacitor and a 0.1μF ceramic capacitor as power supply coupling circuit.

Figure 5

5 Conclusion

The OZ168 audio playback circuit designed in this paper can be used as a reference design circuit. The design does not use the GPIO [1: 0] / VOL_UP / VOL_UP signal external digital potentiometer to realize the digital volume adjustment function. Due to the use of advanced power management technology OZ168's power consumption is very low, and its high-compatibility ATAPI interface specification can be applied to CD / DVD ROM of various brands. For OEMs, the CD / DVD ROM configuration can also be changed according to different needs, but it does not affect PC compatibility, which brings great convenience to the system configuration. At the same time, it also provides users with greater upgrade space.

The world premiere of the technical zone! ROHM has developed the power supply IC "BD372xx series" for high-quality audio. A practical guide for the purchase of home wireless routers. Understanding the circuit diagram and working principle of the audio. Talking about the "frequency response curve" in the audio. Deep dismantling report of the M0pro speaker: both internal and external

Follow WeChat

Interesting and informative information and technical dry goods

Download Audiophile APP

Create your own personal electronic circle

Follow the audiophile class

Lock the latest course activities and technical live broadcast
Collect People collection
share it:
comment
Publish

related suggestion

Application design of battery inspection technology

Application design of battery inspection technology Abstract: The battery is an important group of power system ...

Published on 2009-07-15 09:20 • 581 times read
Application design of battery inspection technology
Application Design of Hanwang Handwriting Chip Touch Screen Controller

This paper presents a design scheme to realize Chinese handwriting input method and touch screen controller by hardware on embedded system at the same time.

Posted at 2009-03-29 15:14 • 333 views
Application Design of Hanwang Handwriting Chip Touch Screen Controller
Biaxial acceleration sensor ADXL202 and its application design

Introduction ADXL202 is a dual-axis acceleration measurement system produced by Analog Devices. It has an analog input that can measure dynamic acceleration and static acceleration ...

Published on 2009-03-29 15:08 • 757 views
Biaxial acceleration sensor ADXL202 and its application design
Application Design of CPLD in DSP System

Abstract: Taking Altera's MAX700 old series as a representative, the application example of CPLD in DSP system is introduced. The program ...

Published on 2006-03-11 17:39 • 277 views
Application Design of CPLD in DSP System
var check_allow = "/d/Api/iscantalk.html"; var add_url = '/ d / article / write /'; function CheckLogin () {now_uid = ''; var ElecfansApi_checklogin = '/ webapi / passport / checklogin'; var logout_url = "{: U ('Login / logout')}"; var logout_url = 'http://bbs.elecfans.com/member.php?mod=logging&action=logout&refer=front'; $ .get (ElecfansApi_checklogin, function (data, textStatus) {if (data! = "") {EchoLoginInfo (data); CheckEmailInfo (data); data = $ .parseJSON (data); now_uid = data.uid; / * var login_content = 'write an article
'+ data.username +'
Quit '; * / var login_content =' write an article
'+ data.username +'
Set exit '; $ (' # login_area '). Html (login_content); var win_width = $ (window) .width (); if (win_width> 1000) {$ ("# mine"). MouseDelay (200) .hover (function () {$ ("# mymenu"). show ();}, function () {$ ("# mymenu"). hide ();});}} else {var content = 'Login Registration'; $ ('# login_area'). html (content); $ (". special-login"). click (function (e) {$ .tActivityLogin (); return false;});}});} $ (function () {// comment ------------------------------- var comment = $ ("# comment"); var comment_input = $ ("# comContent"); // Submit comment click event interaction $ ("# comSubmit2"). on ('click', function () {var content = comment_input.text (); // Empty input box comment_input. html (""). focus (); // Submit data to server $ .ajax ({url: '/plus/arcComment.php', data: {aid: $ ("# webID"). val (), dopost : 'apiPubComment', content: content}, type: 'post', dataType: 'json', success: function (data) {// Data format returned: if (data.status == "successed") {// Build temporary comment DOM var dom = ''; dom + = '
'; dom + =' '; dom + ='
'; dom + ='

'+ data.data.username +' '; dom + ='

'; dom + =' '+ content +' '; dom + =' '; dom + =' just now '; dom + =' '; dom + =' '; // insert a temporary comment to the list $ ("# comment ") .append (dom);} if (data.status ==" failed ") {// alert (data.msg); layer.msg (data.msg);}}}); return false;}); (function () {/ * * Insert single sign-on JS * / var setHost = 'https://passport.elecfans.com'; // Set domain name var script = document.createElement ('script'); script.type = 'text / javascript'; script.src = setHost + '/public/pc/js/t.passport.js'; script.setAttribute ("id", "sso_script"); script.setAttribute ("data-ssoSite", setHost); script.setAttribute ("data-ssoReferer", encodeURIComponent (location.href)); script.setAttribute ("data-ssoSiteid", "11"); var body = document.getElementsByTagName ("body"). item ( 0); body.appendChild (script);}) () / * * It is recommended to modify the style of the article without a picture * * / $ (". Article .thumb"). Each (function () {if ($ (this). find ('img'). attr ('src') == "") {$ (this) .find ('img'). remove (); $ (this) .parent (). css ('padding-left ',' 0px ');}}); / * Baidu share * / window._bd_share_config = {common: {bdText: '', // Custom share content bdDesc: '', // Custom share summary bdUrl: window.location.href, // Custom share URL address bdPic: ''} , share: [{"bdSize": 60, "bdCustomStyle": true}]} with (document) 0 [(getElementsByTagName ('head') [0] || body) .appendChild (createElement ('script')). src = 'http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=' + ~ (-new Date () / 36e5)]; var add_url = '/ d / article / write / '; // var check_allow = "{: U (' Api / iscantalk ')}"; var check_allow = "/ d / api / iscantalk"; var click_items_length = $ ('. art_click_count '). length; if ( click_items_length> 0) {var id_str = ''; $ ('. art_click_count'). each (function () {id_str + = $ (this) .attr ('data-id') + ',';}) // var url = "{: U ('Api / getclickbyids')}"; var url = "/ d / api / getclickbyids"; var id_data = 'id_str =' + id_str; $ .ajax ({url: url, data: id_data, type: 'post', dataType: 'json', success: function (re) {if (re.list.length> = 1) {var list = re.list; for (var i in list) {var t emp_id = list [i] ['id']; var temp_span = $ (". art_click_count [data-id =" + temp_id + "]") temp_span.html (list [i] ['click']);}} }})} $ ("# comContent"). click (function () {if (now_uid == '') {$ .tActivityLogin (); return false;}}) $ (function () {var follow_wrap = $ ( ".author-collect"); var now_uid = "{$ _super ['uid']}"; var face_src = "{$ _super ['uface']}"; var getFollowNum = $ (". followNum strong"). html (); // Follow $ (window) .on ('click', '.author-collect', function () {if (now_uid == '') {$ .tActivityLogin (); return false;} if ( $ (this) .attr ('id') == 'follow') {$ .post ('/ d / user / follow', {tuid: article_user_id}, function (data) {// Data format returned: if (data.status == "successed") {$ (". followNum strong"). html (++ getFollowNum); follow_wrap.html ('followed'). attr ('id', 'cancelFollow'). css ( 'background', '# 999'); var follow_user = ' '; $ (' # follow_list '). append (follow_user);} if (data.status == "failed") {alert (data.msg);}});} else {// Unfollow if ($ ( this) .attr ('id') == 'cancelFollow') {$ .post ('/ d / user / cancelFollow', {tuid: article_user_id}, function (data) {// Data format returned: if (data .status == "successed") {follow_wrap.html ('Follow'). attr ('id', 'follow'). css ('background', '# f90'); $ (". followNum strong"). html (-getFollowNum); $ ('# follow_list .face'). each (function () {var target_uid = $ (this) .attr ('data-uid'); if (target_uid == now_uid) {$ ( this) .remove ();}})} if (data.status == "failed") {alert (data.msg);}}); return false;}}});});}); / * var myface = "{$ _super ['uid'] | avatar}"; var myname = "{$ _super ['username']}"; var article_id = {$ article ['id']}; var article_user_id = {$ article ['mid']}; // Article author ID $ (function () {<notempty name = "clearnum"> // Reduce the number of reminders var count = parseInt ($ ("# noticeCount"). html ()); count = count-{$ clearnum}; $ ("# noticeCount"). html (count); if ( count

Hot Sale Wall Lamps,

hot sale wall lighting ,The whole space pursues the artistic sense. The indispensable element of the designer's life is the inner yearning. It illuminates not only the night but also the life.


wall lamps hot sale item is very suitable for Living Room,Dining Room,Study room,Bedroom,Restaurant,Lobby, Bar,Coffe shop and so on.

hot sale wall lamps

hot sale wall lamps,hot sale wall lighting ,wall lamps hot sale item

Monike lighting , https://www.monikelight.com